mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-24 05:38:15 -05:00
57 lines
1.0 KiB
JSON
57 lines
1.0 KiB
JSON
|
{
|
||
|
"operationId": "getDeadHost",
|
||
|
"summary": "Get a 404 Host",
|
||
|
"tags": ["404 Hosts"],
|
||
|
"security": [
|
||
|
{
|
||
|
"BearerAuth": ["dead_hosts"]
|
||
|
}
|
||
|
],
|
||
|
"parameters": [
|
||
|
{
|
||
|
"in": "path",
|
||
|
"name": "hostID",
|
||
|
"schema": {
|
||
|
"type": "integer",
|
||
|
"minimum": 1
|
||
|
},
|
||
|
"required": true,
|
||
|
"example": 1
|
||
|
}
|
||
|
],
|
||
|
"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-object.json"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|