Versions Compared

Key

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

...

Tip

{VIDEOSOURCEID}—three-component source endpoint ID (see Get list of cameras and information about them). For example, "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".

ParameterRequiredDescription
limitNoLimit of events from detectors in the response. If it is not specified, the deafult value is 100
offsetNoThe offset of the results by the specified number. For example, if a query with offset=0 returns 100 results, then in order to get the next results, you must run a query with offset=100. If the second query returns 250 results, then in order to get the next results, you must run a query with offset=350, and so on
typeNo

Get events from a detector of a

ceratin

certain type. Possible values of the type parameter are listed in the table below.

If you need to get events from several types of detectors, you must list them separated by commas

joinNo
  • If join=1, then in the response, the two-phase events are merged together, and the duration parameter is returned that corresponds to the event duration.
  • If join=0, then in the response, the two-phase events aren't merged together
limit_to_archiveNo

If limit_to_archive=1, then the response returns the events only from the accessible part of the archive (see Configuring access restrictions to an archive)

archiveNo

The name of the archive from the request to get the list of archives (see Get archive contents)

detectorNo

Starting with Axxon One 2.0

Get events from a specific detector of a specific camera. To get a specific value, you can run a query (see Get a list of detectors of a camera).

After you run a query, the value for the detector parameter is specified in the name parameter, for example:

  • "name" : "hosts/SERVER/AVDetector.1/EventSupplier"

Examples of requests:

  • http://127.0.0.1:80/archive/events/detectors/Server1/DeviceIpint.2/SourceEndpoint.video:0:0/past/future?limit=10&offset=0—get events from a certain camera, sorted in descending order. The maximum limit is 10.
  • http://127.0.0.1:80/archive/events/detectors/Server1/past/future?limit=5&offset=0—get events from all detectors of Server1. The maximum limit for each detector is 5.
  • http://127.0.0.1:80/archive/events/detectors/Server1/past/future?limit=5&offset=0&type=Ray—get events from all sensors of Server1. The maximum limit for each sensor is 5.
  • http://127.0.0.1:80/archive/events/detectors/Server1/DeviceIpint.1/SourceEndpoint.video:0:0/future/past?limit=100&detector=hosts/Server1/AVDetector.1/EventSupplier—get events from a certain detector of Server1.
  • http://root:root@127.0.0.1:80/archive/events/detectors/Server1/DeviceIpint.1/SourceEndpoint.video:0:0/20230323T112000.000/20230430T210000.000?limit=100&offset=0&type=listed_face_detected,MotionDetected—get events from several detectors of Server1. The detectors must be listed separated by commas.
  • http://127.0.0.1:80/archive/events/detectors/past/future?limit=1&type=Rayget the current state of all sensors of the Axxon-domain.

...

Note
titleAttention!

Possible values of the type parameter depend on the product version and installed detectors. To get the current values, you can run a query to get the list of detectors of a specific camera (see Get a list of detectors of a camera).

Detectortype
Object tracker or Neural tracker
Line crossingoneLine
Motion in areamoveInZone
Stop in areastopInZone
Entrance in areacomeInZone
Exit from areaoutOfZone
Loitering in arealongInZone
Multiple objectslostObject
License plate recognitionplateRecognized
License plate recognition (from the list)listed_lpr_detected
Face detectorfaceAppeared
Face detector (from the list)listed_face_detected
Visitors counterPeopleIn, PeopleOut
Queue detectorQueueDetected
Fire detectorFireDetected
Smoke detector
SmokeDetected
Neural counterlotsObjects
Position changeSceneChangeDetected
Image noise detectorCameraBlindDetected
Loss of qualityImageDegradation
Blurred image detectorBlurredDegradation
Compression artifacts detectorCompressedDegradation
Motion detectorMotionDetected
Audio loss detectorNullAudio
Signal detectorSignalAudio
Noise detector

NoiseAudio

Human pose detector
Person down detectorrecumbent
Sitting person detectorsitDown
Hands up detectorhandsUp
Water level detectorLevelOut
Handrail holding detectorhandRail
People counterlotsObjects
Close-standing people detectorpeopleDistance
People maskingenabledMaskEvents

...