mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-27 19:20:04 +00:00
42 lines
659 B
JSON
42 lines
659 B
JSON
{
|
|
"operationId": "createHost",
|
|
"summary": "Create a new Host",
|
|
"tags": [
|
|
"Hosts"
|
|
],
|
|
"requestBody": {
|
|
"description": "Host to Create",
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": "{{schema.CreateHost}}"
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "201 response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"required": [
|
|
"result"
|
|
],
|
|
"properties": {
|
|
"result": {
|
|
"$ref": "#/components/schemas/HostObject"
|
|
}
|
|
}
|
|
},
|
|
"examples": {
|
|
"default": {
|
|
"value": {
|
|
"result": "TODO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |