GET http://IPaddressIP-Address:port/prefix/archive/events/alerts/{ENDTIME}/{BEGINTIME} − get alarms from all Domain Servers.
...
Note | ||
---|---|---|
| ||
If ENDTIME < BEGINTIME in the request, then the events in the response will be sorted by time in ascending order. If ENDTIME > BEGINTIME, then the events will be sorted in descending order. |
GET http://IPaddressIP-Address:port/prefix/archive/events/alerts/{HOSTNAME}/{ENDTIME}/{BEGINTIME} − get alarms from a certain Server.
Tip |
---|
{HOSTNAME} − Server name (see Get Server list). |
GET http://IPaddressIP-Address:port/prefix/archive/events/alerts/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} − get alarms from a certain camera.
...
Parameter | Required | Description |
---|---|---|
limit | No | The limit of alarms in the response. If not specified, it is equal to 100 by default. |
offset | No | The results offset by the specified number. For example, if a query with offset=0 returned 100 results, then in order to get the next results, it is necessary to run a query with offset=100. If the second query returned 250 results, then in order to get the next results, it is necessary to run a query with offset=350, etc. |
limit_to_archive | No | If limit_to_archive=1, then the response will return the events only from the accessible part of the archive (see Configuring access restrictions to archive). |
archive | No | The name of the archive from the request to receive the list of archives (see Get archive contents). |
...