Skip to content

List alert camera position links

Request

Get all available links between alerts and camera positions subject to filters.

Security
api_key
Query
cameraIdstring, (uuid)

The ID of a camera linked to the alerts.

alertIdstring, (uuid)

The ID of an alert being linked to the camera positions.

cameraPositionIdstring, (uuid)

The ID of a camera position linked to the alerts.

notificationGroupIdstring, (uuid)

The ID of the notification group the linked alert notifies.

organisationIdstring, (uuid)

The ID of the associated organisation.

alertTypestring

The type of the linked alert.

Enum:"offline_alert""occupancy_alert""camera_health_summary_alert"
curl -i -X GET \
  'https://coreapi.hoxton.ai/_mock/v1/alert-camera-positions?cameraId=497f6eca-6276-4993-bfeb-53cbbbba6f08&alertId=497f6eca-6276-4993-bfeb-53cbbbba6f08&cameraPositionId=497f6eca-6276-4993-bfeb-53cbbbba6f08&notificationGroupId=497f6eca-6276-4993-bfeb-53cbbbba6f08&organisationId=497f6eca-6276-4993-bfeb-53cbbbba6f08&alertType=offline_alert' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK.

Bodyapplication/json
Array [
alertIdstring, (uuid)required
cameraPositionIdstring, (uuid)required
]
Response
[ { "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150" } ]