things/device/msg
thingsDeviceMsg

获取事件历史记录

post/api/v1/things/device/msg/event-log/index

Request body

dataIDstring

获取的具体标识符的数据 如果不指定则获取所有属性数据,一个属性一条,如果没有获取到的不会返回值

deviceNamesstring[]

设备名(不填获取产品下所有设备)

productIDstring

产品id 获取产品id下的所有设备信息

timeEndstring

时间的结束(毫秒时间戳)

timeStartstring

获取时间的开始(毫秒时间戳)

typesstring[]

类型 事件类型: 信息:info 告警alert 故障:fault

Response

A successful response.

codeinteger
msgstring

Changes

Changed in 2 of the 50 revisions of this API.31

  • b9582d0ab6af11See the full diff
    • added required request body

      request-body-added-required

    • added the media type application/json for the response with the status 200

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the request body

      request-body-removed

    • removed the media type application/json for the response with the status 200

      response-media-type-removed

    This revision also has 287 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog