协议脚本调试
POST
/api/v1/things/protocol/script/debug
things/protocol/scriptthingsProtocolScript
请求参数
Header 参数
Ithings-Project-Id
string
可选
默认值:
{{Ithings-Project-Id}}
Ithings-Token
string
可选
默认值:
{{iThings-token}}
app-code
string
可选
默认值:
{{appCode}}
device-id
string
可选
Body 参数application/json
triggerDir
integer <int64>
必需
triggerTimer
integer <int64>
必需
script
string
脚本内容
req
object (PublishMsg)
必需
handle
string
可选
type
string
可选
payload
string
可选
timestamp
string
毫秒时间戳
productID
string
可选
deviceName
string
可选
explain
string
内部使用的拓展字段
protocolCode
string