cameras

Get Camera Zones

get/cameras/{camera_id}/zones

Request

  • Base URL
    https://api.verdun.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.verdun.ai/cameras/{camera_id}/zones
  • Auth
    HTTP bearer

Path parameters

camera_idstring required

Response

Successful Response

revisionstring required

Opaque snapshot revision to send as expected_revision when replacing zones.

display_rotationinteger

The camera's display rotation (degrees CCW, 0 or 180). Zone points are percent of the frame in the ROTATED (upright) space, i.e. the picture as shown after this rotation; a clip recorded before the rotation took effect carries no tag and shows the recorded frame, so its zones need the same turn to line up.

Example response

{
  "zones": [
    {
      "name": "Street traffic",
      "points": [
        {
          "x": 12.5,
          "y": 80
        }
      ],
      "rag_context": "Public sidewalk, pedestrians expected",
      "ignore": true
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.