{
	"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": {
									"id": 1,
									"created_on": 1645700556,
									"modified_on": 1645700556,
									"user_id": 2,
									"type": "proxy",
									"nginx_template_id": 1,
									"listen_interface": "",
									"domain_names": ["jc21.com"],
									"upstream_id": 0,
									"certificate_id": 0,
									"access_list_id": 0,
									"ssl_forced": false,
									"caching_enabled": false,
									"block_exploits": false,
									"allow_websocket_upgrade": false,
									"http2_support": false,
									"hsts_enabled": false,
									"hsts_subdomains": false,
									"paths": "",
									"advanced_config": "",
									"is_disabled": false
								}
							}
						}
					}
				}
			}
		}
	}
}