📢 Release 1.1.0(2026-09-19)现已推出
Arcadia

获取文件列表

GET
/file/v1/list

授权

Token
api-token<token>

32位令牌,在控制面板《个人设置 - 令牌管理》页面获取

位置: header

查询参数

path*string

绝对路径

showCount?string

是否返回目录子项数量,1 返回、0 不返回,默认 0

值于

  • "1"
  • "0"

响应主体

application/json

curl -X GET "https://example.com/file/v1/list?path=string"
{  "path": "string",  "title": "string",  "type": "folder",  "updated_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "children": [    {      "path": "string",      "name": "string",      "type": "folder",      "updated_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "count": 0    }  ],  "count": 0}