latestOpenAPI 3.0.32026-08-137683171.1 KB

be08f4f706f5

Media

Create a media row

Creates a mission_media row and returns it along with a short-lived presigned S3 upload URL the caller uses to PUT the actual object.

post/media

Headers

Idempotency-Keystring uuid

Idempotency key for POST requests. If a transaction with the same key already exists for the org, the server returns the original response without re-executing. Keys are valid for 48 hours.

Request body

missionIdstring uuid required
vehicleIdstring uuid required
mediaType'image' | 'video' required
capturedAtnumber required

Unix-ms timestamp when the media was captured.

sizeBytesinteger required

Size of the S3 object in bytes (used by the zip endpoint's progress UI).

Response

Created

transactionIdstring uuid required