Unable to render embedded object: File (books.jpg) not found.
Go to documentation repository
GET http://server/prefixIP-Address:8000/asip-api/archive/events/alerts/VIDEOSOURCEID/ENDTIME/BEGINTIME?limit=COUNT&offset=COUNT – gets the list of alarms. If limit is not specified, it is equal to 100. Field raisedAt is not unique so passing of previously received alarms starting from the search interval can be requested.
Sample response:
{
"events" :
[
{
"type": "alert",
"id": "42D43A79-90D6-4ba7-BD23-1714996A2F88",
"raisedAt": "20101230T103950.000",
"zone": "SERVER1/DeviceIpint.3/VideoSourceSourceEndpoint.video:0:0",
"reasons": ["ruleAlert", "videoDetector"],
"initiator": "4359EC93-EF31-4de0-9EDE-AA5C5803D6F8",
"reaction":
{
"user": "root",
"reactedAt": "20101230T103958.000",
"severity": "alarm"
}
},
...
],
"more": true
}
...