v1

latestOpenAPI 3.0.32026-07-17178286472.4 KB
things/device/interact
thingsDeviceInteract

调用设备行为

post/api/v1/things/device/interact/action-send

Request body

actionIDstring required

产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义

deviceNamestring required

设备名

inputParamsstring

输入参数

isAsyncboolean

是否异步操作 异步情况通过获取接口来获取

outputParamsstring

输出参数(模拟的时候才需要填写) ,如果填写该参数,那么不会下发给设备,直接记录操作记录

productIDstring required

产品id

Response

A successful response.

codeinteger
msgstring