Skip to main content

Overview

This page documents the request and response models for Download Original Photos: the JSON request body, the per-item presigned URL shapes (success and failure), and the top-level response envelope.

DownloadOriginalPhotosRequest

Sent in the JSON body of Download Original Photos. The shape of identifier depends on method.

PresignedUrlItem

Each entry inside presigned_urls[].

FailedUrlItem

Each entry inside failed_urls[] when one or more URLs could not be generated.

DownloadOriginalPhotosResponse

Top-level response. It uses the standard envelope from Conventions; the download payload lives in data. When no images are available the API still returns 200 OK with empty arrays and a descriptive message (for example "No images found for selfie identifier ..."). data.identifier is the value echoed from the request:
  • For method = bib / selfie / image_id, it is the single string that was sent.
  • For method = image_ids, it is null (the request supplied a list).
If method is image_id and the image does not exist, or method is image_ids and every requested ID is invalid, the API instead responds with 400 Bad Request and the standard error envelope (data is null) — see Download Originals.

Used By

Download Originals

Request body and response envelope for presigned downloads.