Hanzo AI
OpenapiPatrol

List camera

Lists the cameras a caller may OPEN. A row somebody can never reach is a catalogue of a customer's premises and nothing else, so the admission the stream…

GET /v1/patrol/camera

Addresshttps://api.hanzo.ai/v1/patrol/camera
MethodGET
Operationget_patrol_camera
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the cameras a caller may OPEN. A row somebody can never reach is a catalogue of a customer's premises and nothing else, so the admission the stream enforces is asked here too rather than left to differ from it.

The stream credential is not part of a camera row — it is a KMS path the document store never holds — so what comes back says where a camera is and never how to reach it.

Request

1 field.

FieldInTypeRequiredDescription
sitequerystringSite narrows the list to one site by document name.

Response

StatusBodyMeaning
200patrol.patrolCameraListok
defaultproblem-detailsrefused

200 body — 6 fields.

FieldInTypeAlwaysDescription
databodypatrol.patrolCamera[]Data is the matching cameras, never their credentials.
data[].kindbodystringKind is the camera type.
data[].labelbodystringLabel is what the camera is called on screen.
data[].namebodystringName is the camera's document name and the segment /v1/patrol/camera/{name}/stream addresses it by.
data[].onlinebodybooleanOnline says whether the camera last reported healthy.
data[].sitebodystringSite is the site the camera watches.

Failure carries the platform error shape — see Errors.

Examples

hanzo patrol camera list

Patrol API · All Hanzo APIs · Interactive reference

How is this guide?

On this page