| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- {
- "operationId": "getProxyHosts",
- "summary": "Get all proxy hosts",
- "tags": ["Proxy Hosts"],
- "security": [
- {
- "BearerAuth": ["proxy_hosts"]
- }
- ],
- "parameters": [
- {
- "in": "query",
- "name": "expand",
- "description": "Expansions",
- "schema": {
- "type": "string",
- "enum": ["access_list", "owner", "certificate"]
- }
- }
- ],
- "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:23:04.000Z",
- "owner_user_id": 1,
- "domain_names": ["test.example.com"],
- "forward_host": "127.0.0.1",
- "forward_port": 8989,
- "access_list_id": 0,
- "certificate_id": 0,
- "ssl_forced": false,
- "caching_enabled": false,
- "block_exploits": false,
- "advanced_config": "",
- "meta": {
- "nginx_online": true,
- "nginx_err": null
- },
- "allow_websocket_upgrade": false,
- "http2_support": false,
- "forward_scheme": "http",
- "enabled": true,
- "locations": null,
- "hsts_enabled": false,
- "hsts_subdomains": false
- }
- ]
- }
- },
- "schema": {
- "$ref": "../../../components/proxy-host-list.json"
- }
- }
- }
- }
- }
- }
|