api/download
Download an entire batch as a single zip archive.
URL:
- https://uploadbooth.com/api/download/:login/:batch
- https://uploadbooth.com/api/download/:login/:batch.zip
Formats:
- application/zip
HTTP Method:
- GET
Parameters:
-
updated - unix timestamp. Requesting the URL without it issues a
302redirect to the.zipURL withupdated=<batch last-updated>appended; requesting the.zipURL with anupdatedtimestamp serves the archive directly. The timestamp is a cache-buster: each batch revision gets a fresh URL, while the response itself isCache-Control: max-age=0, must-revalidate. -
password - required for password-protected batches. A wrong or missing password redirects to the batch’s password page instead of downloading (see api/check_batch_password).
Response:
-
200with the zip on disk (Content-Disposition: attachment, named<batch>.zip). The archive contains all batch files plus anUPLOADBOOTH.txtwith the api/text batch info. -
302redirect to the canonical.zipURL (or to the password page for protected batches). -
JSON error envelope (HTTP
200,type=error) for unknown users (Unknown user) and unknown batches (Batch not found.).