Link a camera to an organisation.
Security
api_key
- Mock serverhttps://coreapi.hoxton.ai/_mock/v1/cameras
- https://nexus.hoxton.ai/api/v1https://nexus.hoxton.ai/api/v1/cameras
curl -i -X POST \
https://coreapi.hoxton.ai/_mock/v1/cameras \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"serialNumber": "string",
"siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1"
}'OK.
The number of frames encoded over the expected number of frames in the last 2 minutes.
The rate in bytes/second the camera sends information over the network at.
The number of milliseconds of video the camera is waiting to upload.
Response
{ "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150", "cameraStatus": "offline", "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 }