Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

\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
languagegraphql
query {
   camera(node_id:140094)cameraList {
    name
    serial_number
    is_connectedis_connected
  }
}

...

Response:

Code Block
languagegraphql
{
  "data": {
    "cameraList": [
      connection{
      source_ip  "name": "myCamera",
 }   } }

Response:

Code Block
{   "data": {

...

is_connected": true
      }
    ]
  }
}