📢 Release 1.0.0-beta.11(2026-06-03)现已推出
Arcadia

全局文件搜索

代码目录搜索

GET/file/search

请求

参数

类型

响应

获取文件树 响应结构相同,返回匹配关键字的文件树数组。

参数

类型

含有 children 属性的对象为目录,应使用 title 字段获取目录名称

示例
[
  {
    "path": "/arcadia/repo",
    "title": "repo",
    "type": "folder",
    "updated_at": "2024-01-01 00:00:00",
    "created_at": "2024-01-01 00:00:00",
    "children": [
      {
        "path": "/arcadia/repo/my-project/index.js",
        "name": "index.js",
        "type": "file",
        "updated_at": "2024-01-01 00:00:00",
        "created_at": "2024-01-01 00:00:00"
      }
    ]
  }
]

日志目录搜索

GET/file/search/log

仅返回位于日志目录内的目录和 .log 后缀文件。

请求

参数

类型

响应

代码目录搜索响应相同