Skip to main content
POST
Confirm a staged import file upload

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

upload_session_id
string<uuid>
required

Upload session UUID owned by the authenticated user.

file_id
string<uuid>
required

File UUID within this session.

Body

application/json

Validated request fields for this operation.

size_bytes
integer
required

Exact selected/uploaded byte count.

Required range: x >= 1
Example:

102400

etag
string | null

Accepted client hint; the persisted ETag is obtained from storage verification.

Maximum string length: 255
mime_type
string | null

Declared uploaded MIME type.

Maximum string length: 191
Example:

"image/jpeg"

Response

Operation result.

message
string
Example:

"File upload marked as complete."

file_id
string<uuid>
uploaded_file_count
integer
Example:

1

uploaded_bytes
integer
Example:

102400

status
string
Example:

"uploading"

verification
enum<string>
Available options:
verified,
deferred
Example:

"verified"