mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-23 13:18:14 -05:00
4572b205c9
- Return proper booleans in api responses - Update jsonschemavalidation to latest draft
51 lines
957 B
JSON
51 lines
957 B
JSON
{
|
|
"operationId": "getAccessLists",
|
|
"summary": "Get all access lists",
|
|
"tags": ["Access Lists"],
|
|
"security": [
|
|
{
|
|
"BearerAuth": ["access_lists"]
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"in": "query",
|
|
"name": "expand",
|
|
"description": "Expansions",
|
|
"schema": {
|
|
"type": "string",
|
|
"enum": ["owner", "items", "clients", "proxy_hosts"]
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "200 response",
|
|
"content": {
|
|
"application/json": {
|
|
"examples": {
|
|
"default": {
|
|
"value": [
|
|
{
|
|
"id": 1,
|
|
"created_on": "2024-10-08T22:15:40.000Z",
|
|
"modified_on": "2024-10-08T22:15:40.000Z",
|
|
"owner_user_id": 1,
|
|
"name": "test1234",
|
|
"meta": {},
|
|
"satisfy_any": true,
|
|
"pass_auth": false,
|
|
"proxy_host_count": 0
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "../../../components/access-list-object.json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|