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路径的文件,分享配置内容是{...} |