📢 Release 1.1.1(2026-09-29)现已推出
Arcadia

查询属性

GET
/file/v1/info

授权

Token
headerapi-token<token>

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

查询参数

path*string

绝对路径

响应主体

返回文件属性信息

application/json
  1. response
type*FileType

文件类型

值于"folder""file"
name*string

名称

parent_path*string

存储位置路径

mode*string

权限(3位数字)

size*integer

大小(单位字节)

display_size*string

格式化大小(带单位)

modified_time*string

内容最后一次被修改的时间

格式date-time
accessed_time*string

最后一次被访问的时间

格式date-time
created_time*string

创建时间

格式date-time
changed_time*string

属性(如权限或链接)最后一次被更改的时间

格式date-time
curl -X GET "https://example.com/file/v1/info?path=string"
{  "type": "folder",  "name": "string",  "parent_path": "string",  "mode": "string",  "size": 0,  "display_size": "string",  "modified_time": "2019-08-24T14:15:22Z",  "accessed_time": "2019-08-24T14:15:22Z",  "created_time": "2019-08-24T14:15:22Z",  "changed_time": "2019-08-24T14:15:22Z"}