设备详情

来源文档:小鹰开放平台设备管理文档v1.1.14.html

请求方式:POST

请求地址:

请求示例
正式:https://open.eye4cloud.com/{{open_id}}/open/v1/device/getDeviceInfo

请求字段

字段名 是否必传 类型 备注
device_id 是 string 设备唯一 id,可使用 IMEI
timestamp 是 int64 时间戳,单位:秒
nonce 是 string 随机字符串,8~20 个字符
sign 是 string 参考《生成 sign 的示例代码》
imei 否 string 设备 IMEI,可传空字符串
data 否 string 自定义 data,可传空字符串

CURL 请求示例

请求示例
curl 'https://open.eye4cloud.com/xxxxx/open/v1/device/getDeviceInfo' \
  -H 'Content-Type: application/json' \
  --data-raw '{
    "device_id": "xxx",
    "timestamp": 1757472185,
    "nonce": "<YOUR_NONCE>",
    "sign": "<EXPIRED_SIGN>"
}'