What can I send when starting an upload?
POST /v1/buckets/{bucket_id}/uploads:
| Field | Notes |
|---|---|
name | Required. The file name, like storefront.zip (no slashes, up to 255 characters) |
size | Required. The exact file size in bytes |
kind | archive or asset. Defaults to archive for .zip names, asset otherwise |
target_path | Archives only: unpack into this folder (like packages/api) and keep the rest of the tree |
content_type | MIME type returned on download |
visibility | inherit (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.xyzFor deleting your whole account or the data of one service.