things/protocol/script/device
thingsProtocolScriptDevice

新增协议脚本设备

post/api/v1/things/protocol/script/device/create

Request body

createdTimeinteger

创建时间

deviceNamestring
idstring
priorityinteger

执行优先级

productIDstring
scriptIDinteger
statusinteger

状态:是否启用

tenantCodestring

租户号,common 为公共的产品,公共的大家都可以看,但是只有default可以修改

triggerSrcinteger

product:1 device:2

Response

A successful response.

codeinteger
msgstring

Changes

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

    • added the new optional request property product/subDeviceOnlineHandle

      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