/uploads/{upload_id}/completeComplete an upload
Completes an upload by assembling its parts into a file that can be used on the platform. Supply the ordered part IDs and optionally an MD5 checksum; the total uploaded bytes must match the byte count specified when creating the upload. No more parts can be added after completion.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Completion details for the upload. part_ids is required.
A 400 is returned when the upload cannot be completed in its current state, its parts are invalid, or the uploaded size does not match the specified size. A 404 is returned when the upload is not found. A 410 is returned when the upload has expired, a 429 is returned when upload requests are sent too frequently, and a 500 is returned when the upload cannot be completed. The upload_id path parameter must identify the upload, and part_ids is required; order the IDs as the parts should be assembled.