Get Cameras from Provider

GET /api/integration/camera-providers/{integrationId}/cameras

Retrieves all cameras for the specified camera provider

Path parameters

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • integration_id integer(int64)

      Camera Provider ID from /integrations endpoint

    • Identifier of the camera in the provider's context

    • name string

      Name of the camera in the provider's context. It might not be available depending on the provider. Moreover it could be available only for some endpoints and not for others, depending on the provider

    • Additional properties are allowed.

      Hide camera_params attributes Show camera_params attributes object
      • TBC

        Additional properties are allowed.

        Hide thumbnail_url attributes Show thumbnail_url attributes object
        • use_proxy boolean

          When true, that means the provider doesn't support direct access to their systems via frontend, but the thumbnail can be got using the backend endpoint /api/camera/proxied/.. which needs to be authenticated

        • base string

          Base URL

        • method string

          HTTP Method

        • Request Params

          Hide request_params attribute Show request_params attribute object
          • * string Additional properties
        • headers object

          Request Headers. Note that if headers are required this p

          Hide headers attribute Show headers attribute object
          • * string Additional properties
      • TBC

        Additional properties are allowed.

        Hide thumbnail_from_stream_url attributes Show thumbnail_from_stream_url attributes object
        • use_proxy boolean

          When true, that means the provider doesn't support direct access to their systems via frontend, but the thumbnail can be got using the backend endpoint /api/camera/proxied/.. which needs to be authenticated

        • base string

          Base URL

        • method string

          HTTP Method

        • Request Params

          Hide request_params attribute Show request_params attribute object
          • * string Additional properties
        • headers object

          Request Headers. Note that if headers are required this p

          Hide headers attribute Show headers attribute object
          • * string Additional properties
  • Not Authorized

  • Not Allowed

GET /api/integration/camera-providers/{integrationId}/cameras
curl \
 -X GET https://api-dev.gatego.io/api/integration/camera-providers/{integrationId}/cameras
Response examples (200)
[
  {
    "integration_id": 42,
    "integration_camera_id": "string",
    "name": "string",
    "camera_params": {
      "thumbnail_url": {
        "use_proxy": true,
        "base": "https://api.verkada.com/cameras/v1/footage/thumbnails",
        "method": "GET",
        "request_params": {
          "resolution": "low-res"
        },
        "headers": {
          "x-api-key": "da12cb332"
        }
      },
      "thumbnail_from_stream_url": {
        "use_proxy": true,
        "base": "https://api.verkada.com/cameras/v1/footage/thumbnails",
        "method": "GET",
        "request_params": {
          "resolution": "low-res"
        },
        "headers": {
          "x-api-key": "da12cb332"
        }
      }
    }
  }
]