Skip to main content
POST
/
api
/
device
/
func
/
set
设备功能控制
curl --request POST \
  --url https://api.example.com/api/device/func/set \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "idSn": "0638633006916920",
  "funcName": "reboot",
  "data": {
    "input": null
  },
  "latency": 15
}
'
{}

Headers

Authentication
string
required

Body

application/json
idSn
string
required
data
object
required
funcName
string
required
latency
integer

自定义超时,单位秒

async
boolean

默认false同步,true为异步

Response

200 - application/json

The response is of type object.