This endpoint can be used to upload both smaller and larger files (up to 5GB) in a chunked manner. Calling this creates an upload session and returns presigned URLs for uploading the file in parts.
Upload the file in partCount parts, using the matching
parts[n].uploadUrl for each part number.
Every part except the last must be exactly partSizeInBytes bytes. The
last part may be smaller. After all parts have been uploaded, call
/media/upload-sessions/{uploadSessionId}/complete to finalize the upload
and create the media item.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Upload session created.
Media upload session identifier.
Maximum chunk size to use when slicing the file into parts.
For uploads with more than one part, every part except the last must be exactly this size. The last part may be smaller. For a single-part upload, the only part may be smaller than this size.
Number of parts that must be uploaded before completion.
Time when the presigned part upload URLs expire.
Presigned upload targets, in part-number order.