Files

Finalize a file upload

Confirm the bytes were uploaded; the file becomes available for use.

post/v1beta/files/{file_id}/complete

Request

  • Base URL: https://api.indices.io
  • URL: https://api.indices.io/v1beta/files/{file_id}/complete
  • Auth: HTTP bearer

Path parameters

file_idstring required

The ID of the pending file to finalize.

Response

Successful response

file_idstring required

ID of the finalized file.

namestring required

User-facing filename.

size_bytesinteger required

Size of the stored file in bytes, as reported by storage.

content_typestring required

MIME type of the stored file.

crc32cstring required

Base64-encoded CRC32C checksum reported by storage.

Changes

No recorded changes to this operation across all 1 revision of this API.