~~~[api]
get:/v1/networkdisk/folder/list
int:parent_id#父级文件夹id
type#文件夹类型【doc(文档),image(图片), video(视频)】
keyword#搜索关键词
int:min_cursor#
int:max_cursor#
int:limit#
<<<
success
{
"code": 0,
"msg": "success",
"data": {
"list": [
{
"id": 4,
"parent_id": 0,
"name": "文件夹004",
"create_time": "2018-07-04 15:23:30",
"child": []
},
{
"id": 3,
"parent_id": 0,
"name": "文件夹002",
"create_time": "2018-07-04 15:08:43",
"child": []
},
{
"id": 2,
"parent_id": 0,
"name": "文件夹001",
"create_time": "2018-07-04 15:08:32",
"child": [
{
"id": 5,
"parent_id": 2,
"name": "文件夹004",
"create_time": "2018-07-04 15:23:42",
"child": []
}
]
},
{
"id": 1,
"parent_id": 0,
"name": "文件夹001",
"create_time": "2018-07-04 14:50:13",
"child": []
}
]
}
}
<<<
error
{
code:-1,
msg:创建失败/参数错误,
data:[]
}
~~~