Skip to content

Create an alert camera position link

Request

Create a link between an alert and a camera position.

Security
api_key
Bodyapplication/jsonrequired

The link between an alert and a camera position to store.

alertIdstring, (uuid)required
cameraPositionIdstring, (uuid)required
curl -i -X PUT \
  https://coreapi.hoxton.ai/_mock/v1/alert-camera-positions \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e",
    "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150"
  }'

Responses

OK.

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