ElixirDropbox v0.0.8 ElixirDropbox.Files.UploadSession
Link to this section Summary
Functions
Append more data to an upload session
Finish an upload session and save the uploaded data to the given file path
This route helps you commit many files at once into a user’s Dropbox
Returns the status of an asynchronous job for upload_session/finish_batch. If success, it returns list of result for each entry
Upload sessions allow you to upload a single file in one or more requests, for example where the size of the file is greater than 150 MB
Link to this section Functions
Append more data to an upload session.
Example
ElixirDropbox.Files.UploadSession.append(client, “AAAAAAAADipnX-8-d8-V4g”, false, “”)
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append_v2
Finish an upload session and save the uploaded data to the given file path.
Example
ElixirDropbox.Files.UploadSession.finish(client, “AAAAAAAADipnX-8-d8-V4g”, “”, “”)
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish
This route helps you commit many files at once into a user’s Dropbox.
Example
entry = %{ “cursor” => %{ “session_id” => “AAAAAAAADipnX-8-d8-V4g”, “offset” => 0}, “commit” => %{ “path” => “/Homework/math/Matrices.txt” }} entries = [entry] ElixirDropbox.Files.UploadSession.finish_batch client, entries
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish
Returns the status of an asynchronous job for upload_session/finish_batch. If success, it returns list of result for each entry.
Example
ElixirDropbox.Files.UploadSession.finish_batch_check(client, “”)
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish_batch-check
Upload sessions allow you to upload a single file in one or more requests, for example where the size of the file is greater than 150 MB.
Example
ElixirDropbox.Files.UploadSession.start(client, false, “/Tmp”)
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start