\uD83D\uDCD8 Example - cameraList - Obtaining list active/non-active cameras
...
By querying the camera status is_connected,
we can obtain information about camera statuses under owner accountstatus of camera.
Pre-requisites: Setup rights user TOKEN rigths - ? Configuration?.
Query:
Code Block | ||
---|---|---|
| ||
query { camera(node_id:140094)cameraList { name serial_number is_connectedis_connected } } |
...
Response:
Code Block | ||
---|---|---|
| ||
{ "data": { "cameraList": [ connection{ source_ip "name": "myCamera", } } } |
Response:
Code Block |
---|
{ "data": { |
...
is_connected": true
}
]
}
} |