Check a zip download
Check a zip started by get_download_link. While status is processing, wait poll_after_ms and call again; when ready, url is the zip (valid for 1 hour). If it failed, call get_download_link again.
Works with view-only access.
AuthorizationBearer <token>An API key from Settings → Developers (pp_live_…), or an OAuth access token.
id*stringDownload ID from get_download_link.
^run_[A-Za-z0-9]+$Check a zip download
application/json- response
object*stringid*|Zip download ID to poll with get_download while status is processing. Null when the links are ready immediately.
status*string"processing""ready""failed"url*|The file to download: the single version, or the zip once ready. Null while processing, and when files lists per-file links instead.
filename*string|nullexpires_at*|When url stops working.
files*array<>One signed link per file. Used instead of a zip whenever videos are included (videos are too large to zip server-side).
file_count*integer|nullunavailable_job_ids*array<string>Requested versions left out because they were deleted, unfinished or failed to package.
poll_after_ms*integer0 unless status is processing.
curl -X GET "https://example.com/downloads/string"{ "object": "download", "id": "string", "status": "processing", "url": "http://example.com", "filename": "string", "expires_at": "2019-08-24T14:15:22Z", "files": [ { "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "kind": "photo", "filename": "string", "url": "http://example.com", "expires_at": "2019-08-24T14:15:22Z" } ], "file_count": 0, "unavailable_job_ids": [ "string" ], "poll_after_ms": 0}