GetAll

GET /api/camera

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Query parameters

Responses

GET /api/camera
curl \
 -X GET https://api-dev.gatego.io:443/api/camera \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "aim": "string",
    "configured": true,
    "direction": "IN",
    "id": 42,
    "last_attachment_id": 42,
    "location_latitude": 42.0,
    "location_longitude": 42.0,
    "media_server_push_url": "string",
    "name": "string",
    "should_save_last_attachment_id": true,
    "stream_key": "string",
    "yard_id": 42
  }
]