Link a camera to an organisation.
OK.
Bad request.
Authentication failed.
Not allowed.
Not found.
This camera has already been claimed.
Failed.
{- "name": "string",
- "serialNumber": "string",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1"
}
{- "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
- "claimedAt": "2019-08-24T14:15:22Z",
- "direction1Alias": "string",
- "direction2Alias": "string",
- "encodedFramesProportion": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isOnline": true,
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "lastVideoAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "networkTransmitRate": 0,
- "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
- "serialNumber": "string",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "running",
- "videoBacklog": 0,
- "videoUploadLatency": 0
}
Change the state of a camera from running to paused or vice-versa.
OK.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
{- "code": 0,
- "message": "string"
}
Change the state of a camera from claimed to claimed_paused or vice-versa.
Accepted.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
{- "cameraId": "cbc3283e-6217-4855-9934-148717cbeefe",
- "newState": "claimed"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "msg": "string",
- "status": "created"
}
Decommission a camera that is in state running or paused.
OK.
Bad request.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
{- "code": 0,
- "message": "string"
}
Get a camera identified by the provided camera ID.
OK.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
{- "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
- "claimedAt": "2019-08-24T14:15:22Z",
- "direction1Alias": "string",
- "direction2Alias": "string",
- "encodedFramesProportion": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isOnline": true,
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "lastVideoAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "networkTransmitRate": 0,
- "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
- "serialNumber": "string",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "running",
- "videoBacklog": 0,
- "videoUploadLatency": 0
}
Get all attributes of a camera model given a camera ID.
OK.
Authentication failed.
Not allowed.
Not found.
Failed.
[- "2019-08-24T14:15:22Z"
]
Get a recent video frame from a camera.
OK.
Authentication failed.
Not allowed.
No image available.
Conflict.
Failed.
{- "cameraId": "cbc3283e-6217-4855-9934-148717cbeefe"
}
{- "image": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
Get video upload metrics for the provided camera ID
OK.
Authentication failed.
Not allowed.
Not found.
Failed.
{- "uploadSize": 0,
- "uploadTime": 0
}
List all claimed cameras in the fleet along with the organisations that own them.
OK.
Authentication failed.
Not allowed.
Unprocessable entity.
Failed.
[- {
- "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
- "claimedAt": "2019-08-24T14:15:22Z",
- "direction1Alias": "string",
- "direction2Alias": "string",
- "encodedFramesProportion": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isOnline": true,
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "lastVideoAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "networkTransmitRate": 0,
- "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
- "serialNumber": "string",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "running",
- "videoBacklog": 0,
- "videoUploadLatency": 0
}
]
Move camera to new site
OK.
Bad request.
Authentication failed.
Not allowed.
Not found.
Unprocessable Content.
Failed.
{- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1"
}
{- "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
- "claimedAt": "2019-08-24T14:15:22Z",
- "direction1Alias": "string",
- "direction2Alias": "string",
- "encodedFramesProportion": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isOnline": true,
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "lastVideoAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "networkTransmitRate": 0,
- "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
- "serialNumber": "string",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "running",
- "videoBacklog": 0,
- "videoUploadLatency": 0
}
Update camera name and/or direction aliases of the camera identified by the provided camera ID.
OK.
Bad request.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
{- "direction1Alias": "string",
- "direction2Alias": "string",
- "name": "string"
}
{- "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
- "claimedAt": "2019-08-24T14:15:22Z",
- "direction1Alias": "string",
- "direction2Alias": "string",
- "encodedFramesProportion": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isOnline": true,
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "lastVideoAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "networkTransmitRate": 0,
- "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
- "serialNumber": "string",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "running",
- "videoBacklog": 0,
- "videoUploadLatency": 0
}
Create a camera in a registered state.
Accepted.
Bad request.
Authentication failed.
Not allowed.
Not found.
Failed.
{- "cameraId": "cbc3283e-6217-4855-9934-148717cbeefe",
- "serialNumber": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "msg": "string",
- "status": "created"
}