Create a multipart upload session
Authentication
Request
The total size of the file in bytes. The platform uses this value to:
- Calculate the optimal chunk size.
- Determine the total number of chunks required
- Generate the initial set of presigned URLs
Response
The unique identifier of this upload session. Store this value, as you’ll need it for the following subsequent operations:
- Reporting completed chunks
- Requesting additional presigned URLs
- Retrieving the status of this upload session
This identifier remains valid for 24 hours from the time of creation.
An array containing the initial set of presigned URLs for uploading chunks. Each URL corresponds to a specific chunk.
Note the following about the presigned URLs:
- URLs expire after one hour.
- Depending on the size of the file, the initial set may not include URLs for all chunks. If you need more URLs, you can request additional ones using the
POSTmethod of the/assets/multipart-uploads/{upload_id}/presigned-urlsendpoint.
The total number of chunks into which your file must be split. Calculated as: ceiling(total_size / chunk_size).
A string representing the date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the upload URL will expire. Upload URLs expire 24 hours from their creation. After expiration, you cannot resume the upload, and you must create a new upload session.