objects

Complete Object Upload.

Mark an Object's upload as complete, transitioning it from UPLOADING to READ-only state.

post/v1/objects/{id}/complete

Path parameters

idstring required

The unique identifier of the Object to complete.

Request body

EmptyRecord required

Response

Object upload completed successfully. Returns the Object with updated state.

idstring required

The unique identifier of the Object.

namestring required

The name of the Object.

statestring required

The current state of the Object.

size_bytesinteger nullable

The size of the Object content in bytes (null until uploaded).

content_type'unspecified' | 'text' | 'binary' | 'gzip' | 'tar' | 'tgz' required
create_time_msinteger required

The creation time of the Object in milliseconds since epoch.

upload_urlstring nullable

Presigned URL for uploading content to S3 (only present on create).

Changes