Skip to content

设备状态 ​

项说明
方向你 → 平台
方法GET
路径/openapi/v1/devices/{deviceSn}/info
HeaderAuthorization: Bearer <accessToken>

响应 ​

json
{
  "deviceSn": "<设备SN>",
  "online": true,
  "batteryPercentage": 80,
  "charging": null,
  "storageTotalBytes": null,
  "storageFreeBytes": 17179869184,
  "firmwareVersion": "1.2.3",
  "lastSeenAt": "2026-09-22T10:00:00Z",
  "collectedAt": "2026-09-22T10:00:05Z"
}
参数名类型必传描述
deviceSnstring是设备 SN
onlineboolean是是否在线
batteryPercentageint否电量百分比
chargingboolean否是否充电中
storageTotalByteslong否总存储,字节
storageFreeByteslong否剩余存储,字节
firmwareVersionstring否固件版本
lastSeenAtstring否最近活跃时间
collectedAtstring否本次采集时间