| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- {
- "operationId": "getProxyHost",
- "summary": "Get a Proxy Host",
- "tags": ["Proxy Hosts"],
- "security": [
- {
- "BearerAuth": ["proxy_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-08T23:23:03.000Z",
- "modified_on": "2024-10-08T23:26:38.000Z",
- "owner_user_id": 1,
- "domain_names": ["test.example.com"],
- "forward_host": "192.168.0.10",
- "forward_port": 8989,
- "access_list_id": 0,
- "certificate_id": 0,
- "ssl_forced": 0,
- "caching_enabled": 0,
- "block_exploits": 0,
- "advanced_config": "",
- "meta": {
- "nginx_online": true,
- "nginx_err": null
- },
- "allow_websocket_upgrade": 0,
- "http2_support": 0,
- "forward_scheme": "http",
- "enabled": 1,
- "locations": null,
- "hsts_enabled": 0,
- "hsts_subdomains": 0
- }
- }
- },
- "schema": {
- "$ref": "../../../../components/proxy-host-object.json"
- }
- }
- }
- }
- }
- }
|