Control center API
Information on the API for retrieving specific data from the Control Center
Make sure to include your Tenant ID as a header in the authentication flow.
How to get the URL for your specific API
Example
Retrieve device status
the API call gives you information about the device status as follows
{
"boxStatus": {
"connectionState": "CONNECTED",
"runtimeState": "DISABLED"
},
"id": "676cac42-f3d6-416d-ac83-3f54f1c0bb43",
"name": "7th NE parking garage entrance",
"statusId": "676cac42-f3d6-416d-ac83-3f54f1c0bb43",
"tags": [
{
"name": "Roxxon Energy Corporation"
}
],
"type": "P100"
}
the different statuses of the devices are defined as follows in the API documentation
you can also retrieve the status of the individual streams. The API provides the following results
[
{
"id": "fd02a4c9-5e55-4100-a2fd-d76d16993bce",
"name": "",
"model": "traffic-detector-urban-standard-fast",
"streamStatus": {
"state": "NOT_OPERATIONAL",
"errorReason": [
"ENGINE"
]
},
"enabled": true
}
]