Function copy_batch_v2

Source
pub fn copy_batch_v2(
    client: &impl UserAuthClient,
    arg: &CopyBatchArg,
) -> Result<RelocationBatchV2Launch, Error<NoError>>
Available on crate features sync_routes and dbx_files only.
Expand description

Copy multiple files or folders to different locations at once in the user’s Dropbox. This route will replace copy_batch(). The main difference is this route will return status for each entry, while copy_batch() raises failure if any entry fails. This route will either finish synchronously, or return a job ID and do the async copy job in background. Please use copy_batch_check_v2() to check the job status.