Skip to main content
POST
/
api
/
device
/
model
/
save
设备模型保存
curl --request POST \
  --url https://api.example.com/api/device/model/save \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "idSn": "<string>",
  "data": {},
  "schema": {},
  "nodePath": "<string>"
}
'
{}

Headers

Authentication
string
required

Body

application/json
idSn
string
required

设备id或设备sn

data
object

system配置

schema
object

system对应的schema

nodePath
string

可指定路径

Response

200 - application/json

The response is of type object.