描述
document/lists,获取文档列表
请求参数
参数 |
类型 |
是否必选 |
含义 |
pos |
int |
否 |
当前获取条目节点 eg : 10 从第10条开始查询 |
limit |
int |
否 |
获取条目数量 |
响应参数
参数 |
类型 |
是否必选 |
含义 |
document_id |
string |
是 |
文档ID |
app_id |
string |
是 |
app_id |
file_name |
string |
是 |
文档名称 |
size |
int |
是 |
文档大小 单位为 KB |
status |
int |
是 |
文档转码转换状态 0待转换 100转换中 200完成 500失败 |
created_at |
string |
是 |
创建时间 |
错误码
错误码 |
类型 |
含义 |
40008 |
int |
分页起始提条目不正确 |
40009 |
int |
分页条目不正确 |
20007 |
int |
文档查询为空 |
响应示例
{
"code": 200,
"msg": "",
"data": [
{
"document_id": "59e67a7e",
"app_id": "app_id_1",
"file_name": "员工信息更新表.xlsx",
"size": 9997,
"status" : 200,
"created_at": "2017-12-09 20:07:22"
}
]
}