mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 01:15:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			74 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
	"operationId": "getProxyHosts",
 | 
						|
	"summary": "Get all proxy hosts",
 | 
						|
	"tags": ["proxy-hosts"],
 | 
						|
	"security": [
 | 
						|
		{
 | 
						|
			"bearerAuth": [
 | 
						|
				"proxy_hosts.view"
 | 
						|
			]
 | 
						|
		}
 | 
						|
	],
 | 
						|
	"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": "2025-10-28T01:10:26.000Z",
 | 
						|
									"modified_on": "2025-10-28T04:07:16.000Z",
 | 
						|
									"owner_user_id": 1,
 | 
						|
									"domain_names": [
 | 
						|
										"test.jc21com"
 | 
						|
									],
 | 
						|
									"forward_host": "127.0.0.1",
 | 
						|
									"forward_port": 8081,
 | 
						|
									"access_list_id": 1,
 | 
						|
									"certificate_id": 1,
 | 
						|
									"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": [],
 | 
						|
									"hsts_enabled": false,
 | 
						|
									"hsts_subdomains": false
 | 
						|
								}
 | 
						|
							]
 | 
						|
						}
 | 
						|
					},
 | 
						|
					"schema": {
 | 
						|
						"$ref": "../../../components/proxy-host-list.json"
 | 
						|
					}
 | 
						|
				}
 | 
						|
			}
 | 
						|
		}
 | 
						|
	}
 | 
						|
}
 |