things/protocol/info
thingsProtocolInfo

更新自定义协议

post/api/v1/things/protocol/info/update

Request body

codestring

iThings,iThings-thingsboard,wumei,aliyun,huaweiyun,tuya

descstring
endpointsstring[]
etcdKeystring
idinteger
isEnableSyncDeviceinteger required

是否支持主动同步设备信息

isEnableSyncProductinteger required

是否支持主动同步产品信息

namestring
transProtocolstring

传输协议: mqtt,tcp,udp

typestring

协议类型: 普通设备(默认):normal 音视频:media

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