Skip to main content
POST
/
api
/
device
/
sensor
/
set
设备数据下发
curl --request POST \
  --url https://api.example.com/api/device/sensor/set \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "idSn": "device000001",
  "data": {
    "a": 1
  }
}
'
{}

Headers

Authentication
string
required

Body

application/json
idSn
string
required
data
object
required
local
boolean

(平台变量)本地修改、不下发

entire
boolean

覆盖true, 否则合并

async
boolean

默认false同步,true为异步

Response

200 - application/json

The response is of type object.