Cameras

Camera object

{
"id": "8b084a37-6fd4-4c1b-beea-ea403917791b",
"name": "My Camera",
"status": "IDLE",
"imageLink": "https://blog.intenseye.com/content/images/size/w2000/2019/11/blog-post---1-1.png",
"createdAt": "2020-02-14T07:43:00Z",
"updatedAt": "2020-02-14T07:43:00Z",
"facilityId": "3a85f898-c173-4a5a-8e4b-1884ffcace8b",
"alertRuleIds": [
"9a12w142-c173-4a5a-8e4b-1884ffcace8b"
],
"streamType": "proxy",
"streamProtocol": "rtsp",
"metadata": {
"codec_name": "h264",
"width": 1920,
"height": 1080,
"display_aspect_ratio": "0:1",
"pix_fmt": "yuv420p",
"avg_frame_rate": 20,
"bit_rate": "1",
"nb_frames": "10"
}
}

Endpoints


Get cameras in the workspace

GET/cameras

Roles:

cameras:read

Arguments

No arguments needed

Returns

Returns a camera object for the account that was authenticated in the request.


Get a camera's information

GET/cameras/:cameraId

Roles:

cameras:read

Arguments

PATH PARAMETERS
  • :cameraId UUID Id of the camera to retrieve

Returns

Returns a camera object

{
"id": "8b084a37-6fd4-4c1b-beea-ea403917791b",
"name": "My Camera",
"status": "IDLE",
"imageLink": "https://blog.intenseye.com/content/images/size/w2000/2019/11/blog-post---1-1.png",
"createdAt": "2020-02-14T07:43:00Z",
"updatedAt": "2020-02-14T07:43:00Z",
"facilityId": "3a85f898-c173-4a5a-8e4b-1884ffcace8b",
"alertRuleIds": [
"9a12w142-c173-4a5a-8e4b-1884ffcace8b"
],
"streamType": "proxy",
"streamProtocol": "rtsp",
"metadata": {
"codec_name": "h264",
"width": 1920,
"height": 1080,
"display_aspect_ratio": "0:1",
"pix_fmt": "yuv420p",
"avg_frame_rate": 20,
"bit_rate": "1",
"nb_frames": "10"
}
}