send-file-get-status 接口
获取文件上传列表,文件上传进度等。
请求方式
GET http://ip/usapi?method=send-file-get-status&disk-type=1&start=0&count=0
| 参数 | 说明 | 
|---|---|
| method | 方法名称:send-file-get-status | 
| disk-type | 存储设备类型,0:U 盘,1:SD 卡 | 
| start | 起始索引,从 0 开始 | 
| count | 获取记录数量 | 
返回数据
JSON 结构如下:
{
  "result": 0,                     // 返回状态
  "total-count-ongoing": 1,        // 待上传文件数目
  "total-count-done": 2,           // 已上传文件数目
  "start": 0,
  "count": 10,
  "status": {}                     // 当前文件上传状态 
  "media-files": {},               // 文件上传列表
}
| 属性 | 说明 | 
|---|---|
| result | 返回状态,0: 获取状态成功,返回其它值请参考 API 状态码 |