Magpie.Files.MoveBatch (Magpie v0.1.0)

Copy Markdown View Source

Batch move operations (/files/move_batch_v2).

Summary

Functions

Returns the status of an asynchronous job for move_batch/3.

Move multiple files or folders to different locations at once. entries is a list of %{"from_path" => ..., "to_path" => ...} maps. opts accepts "autorename" and "allow_ownership_transfer".

Functions

check(client, async_job_id)

Returns the status of an asynchronous job for move_batch/3.

More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-move_batch-check_v2

move_batch(client, entries, opts \\ %{})

Move multiple files or folders to different locations at once. entries is a list of %{"from_path" => ..., "to_path" => ...} maps. opts accepts "autorename" and "allow_ownership_transfer".

More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-move_batch_v2