https://open.eye4cloud.com/{{open_id}}/open/v1/device/downShelve| 字段名 | 类型 | 是否必填 | 备注 |
|---|---|---|---|
| device_id | string | 是 | 设备唯一id(可以使用 IMEI) |
| timestamp | int64 | 是 | 时间戳,单位:秒 |
| nonce | string | 是 | 随机字符串,8~20个字符 |
| sign | string | 是 | 具体实现方法,请参考《生成sign的示例代码》 生成sign时data字段 |
| imei | string | 否 | 设备IMEI,可传空字符串 |
| data | string | 否 | 自定义data,可传空字符串 |
{
"device_id": "xxx",
"timestamp": 1755685731,
"nonce": "dask43hfad",
"sign": "xxxxxxx",
}
curl 'https://open.eye4cloud.com/xxxxx/open/v1/device/downShelve' \
-H 'Content-Type: application/json' \
--data-raw '{
"device_id": "xxx",
"timestamp": 1757472185,
"nonce": "",
"sign": ""
}'
| 字段名 | 类型 | 备注 |
|---|---|---|
| error_code | int | 状态码:0正常,其他异常 |
| error_message | string | 错误信息:正常为success |
示例:
{
"error_code": 0,
"error_message": "success",
"error_tips": "",
"data": {}
}