- auth
- fs
- public
- admin
列出存储列表
正式环境
正式环境
GET
/api/admin/storage/list
alist Copy/admin/storage
最后修改时间:2024-05-17 11:54:58
责任人:未设置
请求参数
Query 参数
page
string
页数
示例值:
1
per_page
string
每页数目
示例值:
1
Header 参数
Authorization
string
token
示例值:
{{alist_token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://prod-cn.your-api-server.com/api/admin/storage/list' \
--header 'Authorization: {{alist_token}}'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
message
string
信息
data
object
必需
content
array [object {17}]
必需
total
integer
总数
示例
{
"code": 200,
"message": "success",
"data": {
"content": [
{
"id": 1,
"mount_path": "/lll",
"order": 0,
"driver": "Local",
"cache_expiration": 0,
"status": "work",
"addition": "{\"root_folder_path\":\"/root/www\",\"thumbnail\":false,\"thumb_cache_folder\":\"\",\"show_hidden\":true,\"mkdir_perm\":\"777\"}",
"remark": "",
"modified": "2023-07-19T09:46:38.868739912+08:00",
"disabled": false,
"enable_sign": false,
"order_by": "name",
"order_direction": "asc",
"extract_folder": "front",
"web_proxy": false,
"webdav_policy": "native_proxy",
"down_proxy_url": ""
}
],
"total": 5
}
}
修改于 2024-05-17 11:54:58