Clatter LabsHelp Center

What can I send when starting an upload?

ReferenceUpdated

POST /v1/buckets/{bucket_id}/uploads:

FieldNotes
nameRequired. The file name, like storefront.zip (no slashes, up to 255 characters)
sizeRequired. The exact file size in bytes
kindarchive or asset. Defaults to archive for .zip names, asset otherwise
target_pathArchives only: unpack into this folder (like packages/api) and keep the rest of the tree
content_typeMIME type returned on download
visibilityinherit (default), private or public

Starting an upload reserves its size in the bucket. The response gives id (also the future object id, cbo_…), chunk_size, chunk_count and status: "uploading".

Learn more#

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.