all content, endpoints, and code provided by this API are licensed under the GNU Affero General Public License v3 (AGPL-3.0).
By accessing or using this API, you agree to comply with the terms of the AGPLv3.
For more details, please read the full license at GNU AGPLv3.
示例操作 | 含义 |
---|---|
/@file/list/uuid/123456?driver=0 | 以UUID 方式列出UUID 为12345 的目录下的文件 |
/@file/list/path/path1/sub_path/ | 列出/path1/sub_path/ 路径的目录下的文件 |
示例操作 | 含义 |
---|---|
/@file/link/uuid/123456?driver=0 | 以UUID 方式获取UUID 为12345 的文件地址 |
/@file/link/path/path1/file1.mp4 | 获取/path1/file1.mp4 路径的文件 下载URL |
示例操作 | 含义 |
---|---|
/@file/copy/uuid/123456?driver=0&target=/path/path2/ | 以UUID 方式复制UUID 为12345 的文件到/path2/ |
/@file/copy/path/path1/file1.mp4&target=/uuid/789456/ | 复制/path1/file1.mp4 路径的文件到按UUID 为789456 的目录 下 |
示例操作 | 含义 |
---|---|
/@file/move/uuid/123456?driver=0&target=/path/path2/ | 以UUID 方式移动UUID 为12345 的文件到/path2/ |
/@file/move/uuid/123456?driver=0&target=/uuid/789456/ | 以UUID 方式移动UUID 为12345 的文件到按UUID 为789456 的目录 下 |
/@file/move/path/path1/file1.mp4&target=/path/path2/ | 移动/path1/file1.mp4 路径的文件到/path2/ |
/@file/move/path/path1/file1.mp4&target=/uuid/789456/ | 移动/path1/file1.mp4 路径的文件到按UUID 为789456 的目录 下 |
示例操作 | 含义 |
---|---|
/@file/create/uuid/123456?driver=0&target=/path/path2/ | 以UUID 方式在UUID 为12345 的文件夹下创建path2 文件夹 |
/@file/create/uuid/123456?driver=0&target=/file/file.mp4/ | 以UUID 方式在UUID 为12345 的文件夹下创建file.mp4 文件 |
/@file/create/path/path1/&target=/path/path2/ | 在/path1/ 路径下创建path2 文件夹 |
/@file/create/path/path1/&target=/file/file.mp4/ | 在/path1/ 路径下创建file.mp4 文件 |
示例操作 | 含义 |
---|---|
/@file/remove/uuid/123456?driver=0 | 以UUID 方式删除UUID 为12345 的文件 |
/@file/remove/path/path1/file1.mp4 | 删除/path1/file1.mp4 路径的文件 |
示例操作 | 含义 |
---|---|
/@file/config/uuid/123456?driver=0&config={...} | 以UUID 方式管理UUID 为12345 的文件的元信息,管理内容是{...} |
/@file/config/path/path1/file1.mp4?config={...} | 管理/path1/file1.mp4 路径的文件的元信息,管理内容是{...} |
示例操作 | 含义 |
---|---|
/@file/shared/uuid/123456?driver=0&config={...} | 以UUID 方式创建/管理分享UUID 为12345 的文件,分享配置内容是{...} |
/@file/shared/path/path1/file1.mp4?config={...} | 创建/管理分享/path1/file1.mp4 路径的文件,分享配置内容是{...} |