things/device/info
thingsDeviceInfo

获取设备详情

post/api/v1/things/device/info/read

Request body

deviceNamestring required

设备名称 读写

isOnlyCoreboolean

只返回核心信息

productIDstring

产品id 为空时获取所有产品

propertyIgnoreEmptyboolean

设备属性是否忽略空值,空值是否返回

withAreaboolean

同时返回区域信息

withGatewayboolean

同时返回子设备绑定的网关信息

withOwnerboolean

同时获取拥有人的信息

withProfilesstring[]
withPropertiesstring[]

如果不为nil,如果为空,获取设备所有最新属性 如果传了属性列表,则会返回属性列表

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