Skip to main content
Skip table of contents

Callback

Callback from the orchestrator. Using the UUID, a specific camera associated with an analytics case is searched, and its status is changed. Depending on the statuses of the cameras associated with the case, the status of the analytics case itself may also change.

Access to this endpoint is granted after IP address verification.

POST/api/v1/orchestrator/callback

Headers

Accept

application/json

Body

json

JSON
{
    "streamUid": "0f20a7ab-2804-4792-91fb-1707fbdb3c0a",
    "status": "WORKING"
}

streamUidrequired

uuid

UUID of the analytics case-camera pairing

statusrequired

string

Camera status

Response

201

In all cases, the same response will be returned indicating whether the analytics case-camera status has changed or not

Example

JSON
curl -k --location --request POST 'https://vms.local/api/v1/orchestrator/callback' \
--header 'Accept:application/json' \
--header 'Content-Type: application/json \
--data-raw '{
    "streamUid": "0f20a7ab-2804-4792-91fb-1707fbdb3c0a",
    "status": "WORKING"
}'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.