latestOpenAPI 3.0.32026-08-137683171.1 KB

be08f4f706f5

Media

Download all (optionally filtered) mission media as a streaming zip

Streams a zip archive containing the original media files for a mission. The archive is generated server-side by fetching each object directly from S3 — no client-side file-count limits or cross-origin navigation. Entries are organised as <siteName>/<ISO-timestamp>.<ext> with unassigned media grouped under _unassigned/.

get/media/download.zip

Query parameters

missionIdstring uuid required
siteIdstring uuid

Restrict to a single site.

mediaIdsstring

Comma-separated list of media UUIDs. Overrides siteId when set; the zip contains exactly these rows, ordered by site and capture time.

includeEvidenceCrops'true'

When true, annotated evidence crops (original photo cropped around each defect_evidence bbox with a priority-colored stroke) are rendered on demand and appended under evidence/. Opt-in because rendering is CPU-bound and extends the download. On the signed-URL path the flag is covered by the HMAC claims.

Response

Streaming zip archive