Cameras
Cameras are used to access information of a camera in a facility.
This endpoint returns a list which is created with camera objects.
Export cameras
GET/cameras/export
Arguments
Query String Parameters
- format
Enum
optional- CSV (default)
- JSON
- JSONL
Returns
Returns list of camera objects for given format.
Field | Type | Description |
---|---|---|
id | UUID | Unique identifier for camera |
name | String | Camera name |
facilityId | UUID | Unique identifier for a facility in which camera is placed |
alertRuleIds | List[UUID] | Keeps the alert rule ids which created for that camera |
createdAt | DateTime | The field shows creation time of the camera |
- Csv
- Json
- Json Lines
id,name,facilityId,alertRuleIds,createdAt
85e4bd62-9d03-469c-93de-48467ab9d3d5,Camera 1,f7c76220-2790-4bad-89e2-729d1b944a22,2022-11-04T21:47:00Z
d875c064-e8d9-434e-9cee-6996f1549888,Camera 2,f7c76220-2790-4bad-89e2-729d1b944a22,bd087d4f-13e2-4044-900e-7188b1d4cc0d,2022-10-04T20:47:00Z
[
{
"id": "df8e4260-9f0a-4264-85d6-1202a28608b3",
"name": "Camera 1",
"facilityId": "f7c76220-2790-4bad-89e2-729d1b944a22",
"alertRuleIds": [],
"createdAt": "2022-11-04T21:47:00Z"
},
{
"id": "85e4bd62-9d03-469c-93de-48467ab9d3d5",
"name": "Camera 2",
"facilityId": "f7c76220-2790-4bad-89e2-729d1b944a22",
"alertRuleIds": [],
"createdAt": "2022-10-04T20:47:00Z"
}
]
{"id":"df8e4260-9f0a-4264-85d6-1202a28608b3","name":"Camera 1","facilityId":"f7c76220-2790-4bad-89e2-729d1b944a22","alertRuleIds":[],"createdAt": "2022-11-04T21:47:00Z"}
{"id":"85e4bd62-9d03-469c-93de-48467ab9d3d5","name":"Camera 2","facilityId":"f7c76220-2790-4bad-89e2-729d1b944a22","alertRuleIds":[],"createdAt": "2022-10-04T20:47:00Z"}