mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-02-03 02:08:12 -05:00
58 lines
1.1 KiB
JSON
58 lines
1.1 KiB
JSON
|
{
|
||
|
"operationId": "getDeadHosts",
|
||
|
"summary": "Get all 404 hosts",
|
||
|
"tags": ["404 Hosts"],
|
||
|
"security": [
|
||
|
{
|
||
|
"BearerAuth": ["dead_hosts"]
|
||
|
}
|
||
|
],
|
||
|
"parameters": [
|
||
|
{
|
||
|
"in": "query",
|
||
|
"name": "expand",
|
||
|
"description": "Expansions",
|
||
|
"schema": {
|
||
|
"type": "string",
|
||
|
"enum": ["owner", "certificate"]
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "200 response",
|
||
|
"content": {
|
||
|
"application/json": {
|
||
|
"examples": {
|
||
|
"default": {
|
||
|
"value": [
|
||
|
{
|
||
|
"id": 1,
|
||
|
"created_on": "2024-10-09T01:38:52.000Z",
|
||
|
"modified_on": "2024-10-09T01:38:52.000Z",
|
||
|
"owner_user_id": 1,
|
||
|
"domain_names": ["test.example.com"],
|
||
|
"certificate_id": 0,
|
||
|
"ssl_forced": 0,
|
||
|
"advanced_config": "",
|
||
|
"meta": {
|
||
|
"nginx_online": true,
|
||
|
"nginx_err": null
|
||
|
},
|
||
|
"http2_support": 0,
|
||
|
"enabled": 1,
|
||
|
"hsts_enabled": 0,
|
||
|
"hsts_subdomains": 0
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"schema": {
|
||
|
"$ref": "../../../components/dead-host-list.json"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|