Versions Compared

Key

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

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.

...

Code Block
languagejson
query {
  camera(node_id:140094){
    name
    serial_number
    is_connected
    connection{
      source_ip
    }
  }
}

...


Response:

Code Block
languagejson
{
  "data": {
    "camera": {
      "name": "MyCamera",
      "serial_number": "ACCC8EE8A9CA",
      "is_connected": true,
      "connection": {
        "source_ip": "211.21.111.111"
      }
    }
  }
}

In Postman example - Get camera information / getCameraInformation

Info

Pre-requisite: Authentification

...