Previous page Get info about triggering of detection tools and alarms  Get list of detection tools events Next page

GET http://IP-Address:port/prefix/archive/events/alerts/VIDEOSOURCEID/ENDTIME/BEGINTIME?limit=COUNT&offset=COUNT – gets the list of alarms.

where VIDEOSOURCEID - three-component source endpoint ID (see Get list of video sources (cameras)). For instance,  "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0".

If limit is not specified, it is equal to 100. The raisedAt field is not unique so passing of previously received alarms starting from the search interval can be requested.

Sample response:


    "events" :
    [
       {
            "type": "alert",
            "id": "42D43A79-90D6-4ba7-BD23-1714996A2F88",
            "raisedAt": "20101230T103950.000",
            "zone": "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0",
            "reasons": ["ruleAlert", "videoDetector"],
            "initiator": "plateRecognized",

            "reaction":
            {
                "user": "root",
                "reactedAt": "20101230T103958.000",
                "severity": "alarm"
            },

           "detectorName": "5.License Plate Recognition Detection"

        }, 
        ...
    ],
    "more": true
}

Possible values of the reasons array: armed, disarmed, userAlert, ruleAlert, videoDetector, audioDetector and ray.

Possible values of the severity field: unclassified, false, notice, warning and alarm.

Possible values of the initiator field:

  1. Name of the user initiated the alarm.
  2. Id of the macro (see Using macros) if the alarm is initiated by macro that was started NOT by the detector (even if this macro has already been removed from the configuration).
  3. Type of detector that triggered macro that initiated the alarm. Possible types of detectors:

    first-level detectors:

    • SceneChangeDetected
    • CameraBlindDetected
    • MotionDetected (not motion mask, but triggering)
    • NullAudio
    • NoiseAudio
    • SignalAudio
    • Ray
    • plateRecognized
    • faceAppeared
    • SmokeDetected
    • FireDetected
    • ImageDegradation
    • BlurredDegradation

    second-level detectors:

    • oneLine
    • сomeInZone
    • lostObject
    • outOfZone
    • longInZone
    • moveInZone
    • stopInZone
  4. Other information:
    1. any detector if the value of its triggering type is not standardized;

    2. user removed from the system.

Important!

Case sensitivity of detector triggering types is not guaranteed. For instance, 'ComeInZone', 'comeInZone' and 'COMEINZOne' values are to be considered as the same ones.

  • No labels