things/device/msg
thingsDeviceMsg

获取事件历史记录

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

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

dataIDstring

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

deviceNamesstring[]

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

productIDstring

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

timeEndstring

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

timeStartstring

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

typesstring[]

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

Response

A successful response.

codeinteger
msgstring

Changes

    • breaking

      added required request body

    • info

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

    • breaking

      removed the request body

    • breaking

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