upload_session_finish_batch_v2

Function upload_session_finish_batch_v2 

Source
pub fn upload_session_finish_batch_v2(
    client: &impl UserAuthClient,
    arg: &UploadSessionFinishBatchArg,
) -> Result<UploadSessionFinishBatchResult, Error<NoError>>
Available on crate feature dbx_files only.
Expand description

This route helps you commit many files at once into a user’s Dropbox. Use upload_session_start() and upload_session_append_v2() to upload file contents. We recommend uploading many files in parallel to increase throughput. Once the file contents have been uploaded, rather than calling upload_session_finish(), use this route to finish all your upload sessions in a single request. UploadSessionStartArg::close or UploadSessionAppendArg::close needs to be true for the last upload_session_start() or upload_session_append_v2() call of each upload session. The maximum size of a file one can upload to an upload session is 350 GB. We allow up to 1000 entries in a single request. Calls to this endpoint will count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more information, see the Data transport limit page.