- auth
- fs
- public
- admin
列出设置
正式环境
正式环境
GET
/api/admin/setting/list
alist Copy/admin/setting
最后修改时间:2024-05-17 12:16:10
责任人:未设置
请求参数
Query 参数
groups
string
可选
示例值:
5,0
group
string
可选
示例值:
1
Header 参数
Authorization
string
可选
示例值:
{{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/setting/list'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
message
string
信息
data
array [object {7}]
必需
key
string
键
value
string
值
help
string
帮助信息
type
string
类型
options
string
选项
group
integer
分组
flag
integer
标志
示例
{
"code": 200,
"message": "success",
"data": [
{
"key": "aria2_uri",
"value": "http://localhost:6800/jsonrpc",
"help": "",
"type": "string",
"options": "",
"group": 5,
"flag": 1
},
{
"key": "aria2_secret",
"value": "",
"help": "",
"type": "string",
"options": "",
"group": 5,
"flag": 1
},
{
"key": "token",
"value": "alist-2a",
"help": "",
"type": "string",
"options": "",
"group": 0,
"flag": 1
},
{
"key": "index_progress",
"value": "{\"obj_count\":0,\"is_done\":true,\"last_done_time\":null,\"error\":\"\"}",
"help": "",
"type": "text",
"options": "",
"group": 0,
"flag": 1
},
{
"key": "qbittorrent_url",
"value": "http://a:an@localhost:8080/",
"help": "",
"type": "string",
"options": "",
"group": 0,
"flag": 1
},
{
"key": "qbittorrent_seedtime",
"value": "0",
"help": "",
"type": "number",
"options": "",
"group": 0,
"flag": 1
}
]
}
修改于 2024-05-17 12:16:10