How do I resume an interrupted upload with the API?
If the connection drops, nothing is lost.
- Ask which chunks arrived:
curl $CB/v1/uploads/UPLOAD_ID \
-H "Authorization: Bearer $CLATTER_API_KEY" -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"
# { "object": "upload", "status": "uploading", "chunk_count": 8, "received_chunks": [0, 1, 2, 5], ... }
- Send only the missing chunks (here 3, 4, 6 and 7).
- Complete the upload.
Keep the upload id somewhere safe (a file or log) so a restarted process can resume.
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.