Go to documentation repository
Page History
...
| Info | ||
|---|---|---|
| ||
The ENDTIME and BEGINTIME syntax is described in Get archive contents section. |
GET http://IP-Address:port/prefix/archive/events/alerts/{HOSTNAME}/{ENDTIME}/{BEGINTIME} - get alarms from a certain Server.
...
| Tip |
|---|
{VIDEOSOURCEID} - three-component source endpoint ID (see Get list of video sources (cameras)). For instance, "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0". |
...
| 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 | Is available starting with Axxon Next 4.4.1.9150. 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 older footage). |
| archive | No | Is available starting with Axxon Next 4.4.1.9150. The name of the archive from the request to receive the list of archives (see Get archive contents). |
Sample request:
GET http://127.0.0.1:80/archive/events/alerts/Server1/past/future?limit=50&offset=0
...
| Parameter | Description |
|---|---|
| raisedAt | Field raisedAt is not unique so it might be necessary to skip the previously received alarms starting from the search interval. |
| reasons | Possible values of the reasons array: armed, disarmed, userAlert, ruleAlert, videoDetector, audioDetector, ray. |
| severity | Possible values of the severity field: unclassified, false, notice, warning, alarm. |
| initiator | Possible values of the initiator field:
|
...