Creates an upload session for an existing file.
The access token received from the authorization server in the OAuth 2.0 flow.
The unique identifier that represents a file.
The ID for any file can be determined
by visiting a file in the web application
and copying the ID from the URL. For example,
for the URL https://*.app.box.com/files/123
the file_id is 123.
Returns a new upload session.
An upload session for chunk uploading a file.
The unique identifier for this session.
"F971964745A5CD0C001BBE4E58196BFD"
The value will always be upload_session.
upload_session "upload_session"
The date and time when this session expires.
"2012-12-12T10:53:43-08:00"
The size in bytes that must be used for all parts of of the upload.
Only the last part is allowed to be of a smaller size.
1024
The total number of parts expected in this upload session, as determined by the file size and part size.
1000
The number of parts that have been uploaded and processed
by the server. This starts at 0.
When committing a file files, inspecting this property can provide insight if all parts have been uploaded correctly.
455
A list of endpoints for this session.