Skip to content

Sightings

Download a sighting photo

Download a photo attached to a sighting in its stored image format.

GET/api/integration/v1/logs/{log_id}/photos/{photo_id}
View examples

Authentication

X-API-Key required header

The organization’s active integration key.

Set up access

Parameters

log_idstring · uuidpath · required
The sighting ID.
photo_idstring · uuidpath · required
The photo ID from the sighting’s photos array.

Responses

200Binary download

image/jpegstring · binary

image/pngstring · binary

image/webpstring · binary

401Missing, invalid, expired, or revoked authentication credentials

application/jsonApiErrorOut

  • detailstring | array of ValidationIssueOut | objectrequired
    Show fields
    • locarray of string | integerrequired
    • msgstringrequired
    • typestringrequired
  • codestring | null

WWW-Authenticate · Authentication challenge for the required credential scheme

404Resource not found or outside the authenticated organization

application/jsonApiErrorOut

  • detailstring | array of ValidationIssueOut | objectrequired
    Show fields
    • locarray of string | integerrequired
    • msgstringrequired
    • typestringrequired
  • codestring | null
422Invalid fields, body, image, or current password

application/jsonApiErrorOut

  • detailstring | array of ValidationIssueOut | objectrequired
    Show fields
    • locarray of string | integerrequired
    • msgstringrequired
    • typestringrequired
  • codestring | null
429Request quota exceeded; wait according to Retry-After

application/jsonApiErrorOut

  • detailstring | array of ValidationIssueOut | objectrequired
    Show fields
    • locarray of string | integerrequired
    • msgstringrequired
    • typestringrequired
  • codestring | null

Retry-After · Advised delay in seconds (currently fixed at 60)

500Unexpected server error; internal details are withheld

application/jsonApiErrorOut

  • detailstring | array of ValidationIssueOut | objectrequired
    Show fields
    • locarray of string | integerrequired
    • msgstringrequired
    • typestringrequired
  • codestring | null
503Storage, email delivery, or inference temporarily unavailable

application/jsonApiErrorOut

  • detailstring | array of ValidationIssueOut | objectrequired
    Show fields
    • locarray of string | integerrequired
    • msgstringrequired
    • typestringrequired
  • codestring | null