[−][src]Function dropbox_sdk::files::upload_session_finish_batch
pub fn upload_session_finish_batch(
client: &dyn HttpClient,
arg: &UploadSessionFinishBatchArg
) -> Result<Result<UploadSessionFinishBatchLaunch, ()>>
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. The maximum size of a file one
can upload to an upload session is 350 GB. This route will return a job_id immediately and do
the async commit job in background. Use
upload_session_finish_batch_check()
to check the job
status. For the same account, this route should be executed serially. That means you should not
start the next job before current job finishes. 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.