Unable to render embedded object: File (books.jpg) not found.
Go to documentation repository
GET http://server/prefix/archive/events/detectors/VIDEOSOURCEID/ENDTIME/BEGINTIME?limit=COUNT&offset=COUNT – gets the list of detection tool events. If limit is not specified, it is equal to 100. Field timestamp is not unique so passing of previously received alarms starting from the search interval can be requested.
Sample response:
{
"events":
[
{
"id": "433d45ec-0b7f-aa43-8491-c8acb7d0ac56"
,"source": "hosts/SERVER1/SituationDetector.0"
,"origin": "hosts/SERVER1/DeviceIpint.0/SourceEndpoint.video:0:0"
,"detectorId": "1"
,"type": "CrossOneLine"
,"alertState": "ended"
,"timestamp": "20120314T121512.597"
,"rectangles":
[
{
"index": "1"
,"left": "0.622086710929871"
,"top": "0.68798337459564196"
,"right": "0.65736908435821495"
,"bottom": "0.79889315128326399"
}
]
},
...
],
"more": true
}