Create a report of aggregated camera metrics for a given time range and list of cameras.
Security
api_key
request aggregated video metrics data for a set of cameras and a given time range.
It is the upper bound of the date range for which to return data. The endDate is non-inclusive; i.e, the returned data will be for dates from startDate to endDate-1
It is the lower bound of the date range for which to return data. The startDate is inclusive; i.e, the returned data will be for dates from startDate to endDate-1
- Mock serverhttps://coreapi.hoxton.ai/_mock/v1/aggregated-video-metrics-reports
- https://nexus.hoxton.ai/api/v1https://nexus.hoxton.ai/api/v1/aggregated-video-metrics-reports
curl -i -X POST \
https://coreapi.hoxton.ai/_mock/v1/aggregated-video-metrics-reports \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"cameraIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"endDate": "2019-08-24",
"startDate": "2019-08-24",
"timeGrain": "1h"
}'Response
[ { "cameraId": "cbc3283e-6217-4855-9934-148717cbeefe", "lateCount": 0, "missingCount": 0, "onTimeCount": 0, "time": "2019-08-24T14:15:22Z" } ]