Hide
Reveal

List uploaded files for a session

Returns all files currently attached to a session. Use this to verify that all uploads have completed (status complete) and that each file is on the correct step before calling POST /api/job. Authentication: X-Api-Key header required.

get/api/session/{uid}/files

Request

  • Base URL: https://snapwonders.com
  • URL: https://snapwonders.com/api/session/{uid}/files
  • Auth: API key in header X-Api-Key

Path parameters

uidstring uuid required

The upload_uid returned by POST /api/session

Response

File list

upload_uidstring uuid
type'hide' | 'reveal'
session_statusstring

Example response

{
  "session_status": "uploading",
  "files": [
    {
      "step": 1,
      "name": "photo.jpg",
      "mime_type": "image/jpeg"
    }
  ]
}

Changes

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