Uploads
Get Upload
Status of a chunked upload, then its result once processing finishes.
GET
Get Upload
Status of an upload sent in pieces (see Large Files), then its result.
Behavior
- While pieces are still arriving,
200withupload.status: uploading. After the last piece,upload.status: processinguntil the file is stored. - When processing finishes,
200with the same{url, post}bodyPOST /uploadreturns for one file, or the{post}body ofPOST /posts/{code}/fileswhen the pieces went there. A failed upload returns its error at the status that endpoint would have used. - The result is kept for 10 minutes after processing finishes. After that, and for an id that is unknown, expired or belongs to another account or team, the response is
404. - Send it to
https://{region}.api.snipp.ggfromupload.region. - 20 requests per 30 seconds. Polling every 2 seconds stays under it.