向设备下发 Command 并等待响应
POST/devices/command/execute/await
通过 command 控制设备,并在服务端获取设备响应。
以下 command 可响应:
APIGetIrDeviceCategoriesForApp(40263)
APIGetBrandsByCategoryForApp(40267)
APIGetMatchTreeForApp(40268)
APIClickIrKeyForApp(40273)
APISaveMatchedRemoteInfoForApp(40292)
SetIRDeviceInfo(40288)
IRCodeMatchStatus(20591)
APICreateIrVirtualDeviceForApp(40281)
SendIrKey(40305)
APIStartIrLearningForApp(40280)
IRLearnResult(20618)
APIAddIrKeyForApp(40275)
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
成功(data 返回每条命令的执行及设备上报结果)
请求参数错误
未认证或认证失效
无权限访问
资源不存在
请求频率过高
服务内部错误