upload

Upload Set

Accept the set — exactly required files in close and in far — store it and hand it to the containers worker.

All-or-nothing: every file is read and checked before anything is uploaded, so a bad photo rejects the request with nothing stored and the client fixes it and sends all eight again. On success the task is Pending (or straight away Error when the GPS says this container was already sent); the verdict is polled at GET /api/tasks/{task_uid}/status.

post/api/media/containers/{task_uid}/photos

Request

  • Base URL
    https://api.ncspeech.org (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

task_uidstring required

Headers

Idempotency-Keystring nullable
X-Test-UIDstring nullable

Request body multipart/form-data

closestring[] required
farstring[] required
gps_coordinatesstring nullable
gpsCoordinatesstring nullable

Response

Successful Response

messagestring required
taskUidstring required
taskStatusstring required
submissionIdstring required

Changes

No recorded changes to this operation across all 1 revision of this API.