How do uploads work in Code Buckets?
Every upload, small or large, works the same way:
- Start it with the file's
nameand exactsize:POST /v1/buckets/{bucket_id}/uploads. You get an upload id,chunk_size(16,777,216 bytes = 16 MiB) andchunk_count. - Send each chunk:
PUT /v1/uploads/{upload_id}/chunks/{index}with the raw bytes. - Complete it:
POST /v1/uploads/{upload_id}/complete.
A file under 16 MiB is one chunk. Chunks can go in any order and at the same time, retries are safe, and an interrupted upload can resume.
See Uploads.
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.