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 {
  cameraList {
    name
    is_connected
  }
}

...

Response:

Code Block
languagegraphql
{
  "data": {
    "cameraList": [
      {
        "name": "myCamera",
        "is_connected": true
      }
    ]
  }
}

...