v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
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.

state'UPLOADING' | 'READ_ONLY' | 'DELETED' | 'ERROR' required
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.

delete_after_time_msinteger nullable

The time after which the Object will be deleted in milliseconds since epoch.

metadataobject nullable

User defined metadata to attach to the Object for organization.

upload_urlstring nullable

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