GET http://IP-Address:port/prefix/archive/events/detectors/{ENDTIME}/{BEGINTIME}—get detections from all Domain Servers.
Note | ||
---|---|---|
| ||
The ENDTIME and BEGINTIME syntax is described in Get archive contents. 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://IP-Address:port/prefix/archive/events/detectors/{HOSTNAME}/{ENDTIME}/{BEGINTIME}—get detections from a certain Server.
Tip |
---|
{HOSTNAME}—Server name (see Get Server list). |
GET http://IP-Address:port/prefix/archive/events/detectors/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME}—get detections from a certain camera.
...
Parameter | Required | Description |
---|---|---|
limit | No | Limit of detections in the response. If not specified, it is equal to 100 |
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. |
type | No | Get detections from a certain detection tool. The values of the type parameter are listed in the table below. If you need to get detections from several detection tools, you need to list them separated by commas |
join | No | If join=1, then in the response, the two-phase events will be merged together, and the duration parameter will be returned which corresponds to the event duration. If join=0, then in the response, the two-phase events will not be merged together |
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) |
detector | No | Starting with AC-Werk 2.0 Get detections from a certain detection tool. The values of the detector parameter are listed in the table below |
...
...