Files

Upload a file

Accepts multipart/form-data with fields:

  • file: binary (required)
  • file_metadata: string (optional, JSON string)
post/files

Response

File uploaded successfully

content_typestring required

MIME type detected or provided for the file.

created_atstring date-time required

Timestamp when the file was created.

file_idstring required

Unique identifier for the file.

file_namestring required

The original filename supplied by the client.

file_sizeinteger required

Size of the stored file in bytes.

metadataobject required

Arbitrary JSON metadata associated with the file.

urlstring required

Permanent Chunkr URL. Use directly with other chunkr API requests.

Changes