Function copy_batch_v2

Source
pub fn copy_batch_v2<'a>(
    client: &'a impl UserAuthClient,
    arg: &'a CopyBatchArg,
) -> impl Future<Output = Result<RelocationBatchV2Launch, Error<NoError>>> + Send + 'a
Available on crate features async_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.