things/protocol/info
thingsProtocolInfo

新增自定义协议

Changed on
post/api/v1/things/protocol/info/create

Request

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

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

    • 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