The camera type is the most comprehensive type(node) that we use when downloading recordings, getting a live stream or checking camera availability. In addition, a query for the camera type returns many parameters about the camera.
\uD83D\uDCD8 Example - Obtaining camera parameters:
By querying the camera type, we obtain information about the serial number (serial_number
), connection status (is_connected
) and camera ip address (source_ip
). The mandatory parameter node_id
can be found using the previous query List of all elements and type on cameraList or nodeList.
Query:
Code Block | ||
---|---|---|
| ||
query { camera(node_id:140094){ name serial_number is_connected connection{ source_ip } } } |
...
Answer
Response:
Code Block | ||
---|---|---|
| ||
{ "data": { "camera": { "name": "ACCC8EE8A9CAMyCamera", "serial_number": "ACCC8EE8A9CA", "is_connected": true, "connection": { "source_ip": "211.21.111.111" } } } } |
In Postman example - Get camera information / getCameraInformation
Info |
---|
Pre-requisite: Authentification |
\uD83D\uDCCB Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|