Versions Compared

Key

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

GET http://IPAddress address:port/prefix/archive/events/detectors/{ENDTIME}/{BEGINTIME}get detections events from detection tools from all Axxon-domain Servers.

Note
titleAttention!

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 are sorted by time in ascending order.

If ENDTIME > BEGINTIME, then the events will be are sorted in descending order.

GET http://IP Addressaddress:port/prefix/archive/events/detectors/{HOSTNAME}/{ENDTIME}/{BEGINTIME}get detections events from detection tools from a certain Server.

Tip

{HOSTNAME}Server name (see Get Server list).

GET http://IPAddress address:port/prefix/archive/events/detectors/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME}get detections events from detection tools from a certain camera.

Tip

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

...

ParameterRequiredDescription
limitNoLimit of detections events from detection tools 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.and so on
typeNo

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

If you need to get detections from events from several detection tools, you need to list them separated by commas

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

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)

archiveNo

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

detectorNo

Starting with Axxon One2.0

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

...

  • http://127.0.0.1:80/archive/events/detectors/Server1/DeviceIpint.2/SourceEndpoint.video:0:0/past/future?limit=10&offset=0get detections 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=0get detections events from all detection tools of Server1. The maximum limit for each detection tool is 5.
  • http://127.0.0.1:80/archive/events/detectors/Server1/past/future?limit=5&offset=0&type=Rayget detections events from all sensors of Server1. The maximum limit for each sensor is 5.
  • http://127.0.0.1:80/archive/events/detectors/A-ZHUKOV/DeviceIpint.1/SourceEndpoint.video:0:0/future/past?limit=100&detector=hosts/Server1/AVDetector.1/EventSupplier—get detections events from a certain detection tool 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 detections events from several detection tools of Server1. The detection tools 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!

It is recommended to use the past/future parameter only in the first request. Then you should must get the timestamp of the most recent record and use it to request subsequent records. Using the past/future parameter along with the limit and offset parameters in subsequent requests can result in duplicate records.

...

Info
titleNote

The multiPhaseSyncId parameter will be in the response only for two-phase alarms with alertState parameter.

Field timestamp is not unique so it might be necessary to skip the previously received alarms events starting from the search interval.

When requesting the events of the queue detection tool triggerings, the response will include an additional additional extra parameter that will contain the queue length estimate expressed by the minimum and maximum values.

Code Block
       {
            "alertState": "happened",
            "extra": [
                {
                    "queueMax": "4"
                },
                {
                    "queueMin": "4"
                }
            ],
            "id": "b17129b2-1588-794b-94f6-d078a226efb2",
            "origin": "hosts/Server1/AVDetector.4/EventSupplier",
            "rectangles": [],
            "source": "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0",
            "timestamp": "20181206T075621.621000",
            "type": "QueueDetected"
        }
}

When requesting the detections events from License plate recognition, the response will include an additional plate parameter that will contain the recognized license plate in Unicode format.

...

Possible values of the type parameter:

Detection tooltype
Scene Analytics detection toolsObject Tracker or Neurotracker
Line crossingCrossingoneLine
Motion  in areaIn AreamoveInZone
Stop in areaIn AreastopInZoneAppearance in area
Entrance In AreacomeInZoneDisappearance in area
Exit From AreaoutOfZone
Loitering In ArealongInZone
Multiple objectsObjectslostObject
Number Plate License Plate RecognitionplateRecognized
Number Plate Recognition License Plate Recognition (from the list)listed_lpr_detected
Face detectionDetectionfaceAppeared
Face detection Detection (from the list)listed_face_detected
Visitors counterCounterPeopleIn, PeopleOut
Queue detectionQueueDetected
Fire detectionDetectionFireDetected
Smoke detectionDetectionSmokeDetected
Neural countingNeurocounterlotsObjects
Position changeSceneChangeDetected
Image Noise DetectionCameraBlindDetected
Loss of qualityImageDegradation
Blurred Image DetectionBlurredDegradation
Compression Artifacts DetectionCompressedDegradation
Motion detectionMotionDetectedNo
signalAudio LossNullAudio
Signal DetectionSignalAudio
Noise Detection

NoiseAudio

Pose detectionDetectionMan down detection
Person Down Detectionrecumbent
Sitting person detectionPerson DetectionsitDown
Hands up detectionhandsUp
Water level detectionLevel DetectionLevelOut
Handrail holding detectionhandRail
People counterlotsObjects
Close-standing people detectionpeopleDistance
People maskingenabledMaskEvents

Possible values of the detector parameter:

Scene Analytics detection tools crossing in area in areaAppearance in areaDisappearance in area objectsNumber Plate detection counter detection detectionNeural countingLoss of qualityImage Noise DetectionNo signal detectionMan down detection person detection detectionShooter level detection

detector

Detection tool
SceneDescriptionObject Tracker or Neurotracker
CrossOneLineLine Crossing
moveInZoneMotion In Area
StopInZoneStop In Area
ComeInZoneEntrance In Area
OutOfZoneExit From Area
LongInZoneLoitering In Area
lostObjectMultiple Objects
LprDetectorLicense Plate Recognition
TvaFaceDetectorFace Detection
PeopleCounterVisitors Counter
QueueDetectorQueue detection
FireDetectorFire Detection
SmokeDetectorSmoke Detection
NeuroCounterNeurocounter
SceneChangePosition change
QualityDegradationImage Noise Detection
QualityDegradation_v2Loss of quality
BlurredDegradationBlurred Image Detection
CompressedDegradationCompression Artifacts Detection
MotionDetectionMotion detection
NullAudioDetectionAudio Loss
SignalAudioDetectionSignal Detection
NoiseAudioDetectionNoise Detection
PoseDetectorPose Detection
RecumbentDetectorPerson Down Detection
SitDownDetectorSitting Person Detection
HandsUpDetectorHands up ActiveShooterDetector detection
WaterLevelDetectorWater Level Detection
HandRailDetectorHandrail holding detection
PeopleCountDetectorBySkeletonPeople counter
PeopleDistanceDetectorClose-standing people detection
PoseMaskingDetectorPeople masking


Note
titleAttention!
  • Case sensitivity of detection tool triggering types event types from detection tools is not guaranteed. For instance, 'ComeInZone', 'comeInZone' and 'COMEINZOne' values are to be considered as the same ones.
  • If you received a value not included in the list, then an embedded detection tool triggeredgenerated an event.