获取文件列表
授权
Token api-token<token>
32位令牌,在控制面板《个人设置 - 令牌管理》页面获取
位置: header
查询参数
path*string
绝对路径
showCount?string
是否返回目录子项数量,1 返回、0 不返回,默认 0
可选值
"1" | "0"响应体
application/json
curl -X GET "http://localhost:5678/api/open/file/v1/list?path=string"{
"path": "string",
"title": "string",
"type": "folder",
"updated_at": "string",
"created_at": "string",
"children": [
{
"path": "string",
"name": "string",
"type": "folder",
"updated_at": "string",
"created_at": "string",
"count": 0
}
],
"count": 0
}
