things/device/schema
thingsDeviceSchema

获取设备物模型列表

post/api/v1/things/device/schema/index

Request body

controlModeinteger

控制模式: 1: 可以群控,可以单控 2:只能单控

deviceNamestring required
funcGroupinteger

功能分类: 1:普通功能 2:系统功能

identifierstring

标识符模糊过滤

identifiersstring[]

过滤标识符列表

isCanSceneLinkageinteger

是否可以场景联动

namestring
productIDstring required

产品id

propertyModestring

属性类型可用 读写类型: 1:r(只读) 2:rw(可读可写)

taginteger

过滤条件: 物模型标签 1:自定义 2:可选 3:必选

typeinteger

物模型类型 1:property属性 2:event事件 3:action行为

typesinteger[]
userPerminteger

用户权限操作: 1:r(只读) 3:rw(可读可写)

withProductSchemaboolean

同时获取产品物模型

Response

A successful response.

codeinteger
msgstring

Changes

Changed in 3 of the 50 revisions of this API.32

    • added the new optional request property identifier

      new-optional-request-property

  • 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