Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleNote

The ENDTIME and BEGINTIME syntax is described in Get archive contents section.

GET http://IP-Address:port/prefix/archive/events/detectors/{HOSTNAME}/{ENDTIME}/{BEGINTIME} -  get detections 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".

...

ParameterRequiredDescription
limitNoLimit of detections in the response. If not specified, it is equal to 100.
offsetNoThe 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.
typeNo

Get detections from a certain detection tool. The parameter values are listed in the table below.

joinNo

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_archiveNo

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).

archiveNo

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 requests:

http://127.0.0.1:80/archive/events/detectors/Server1/DeviceIpint.2/SourceEndpoint.video:0:0/past/future?limit=10&offset=0 - get detections from a certain camera, sorted in descending order. The maximum limit is 10.

...