英文 | 韩文 | 中文 | 日文

第4章 事件信息API

 Request
http://<address>:<port>/reqEvents?date=<YYYYMMDD>

· date: 指定要请求事件的日期,格式为 `YYYYMMDD`。

 响应
{
  "events": [
    {
      "idx": 1,
      "chno": 2,
      "title": "Intersection",
      "type": "MOTION",
      "time": "2026-03-23T02:59:48+01:00",
      "timestamp": 1774231188
      "isDST": false,
      "duration_msec": 8000,
      "regionId": 2
    },
    ...
  ]
}

· idx: 事件索引。

· chno: 记录事件的通道号。

· title: 事件的描述性标题。

· time: 事件发生时间(ISO 8601 格式的时间戳)。

· timestamp: 事件发生时间(Unix 时间戳)。

· isDST: 表示该时间是否为夏令时(DST)。

· duration_msec: 事件的持续时间,单位为毫秒。

· type:

· MOTION: 运动检测事件

· THERMAL: 热成像摄像头事件

· MOBILE: 移动通道录像事件

· regionId: 事件的区域ID。若为移动通道事件,则regionId为userIdx