get.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "operationId": "getProxyHosts",
  3. "summary": "Get all proxy hosts",
  4. "tags": ["Proxy Hosts"],
  5. "security": [
  6. {
  7. "BearerAuth": ["proxy_hosts"]
  8. }
  9. ],
  10. "parameters": [
  11. {
  12. "in": "query",
  13. "name": "expand",
  14. "description": "Expansions",
  15. "schema": {
  16. "type": "string",
  17. "enum": ["access_list", "owner", "certificate"]
  18. }
  19. }
  20. ],
  21. "responses": {
  22. "200": {
  23. "description": "200 response",
  24. "content": {
  25. "application/json": {
  26. "examples": {
  27. "default": {
  28. "value": [
  29. {
  30. "id": 1,
  31. "created_on": "2024-10-08T23:23:03.000Z",
  32. "modified_on": "2024-10-08T23:23:04.000Z",
  33. "owner_user_id": 1,
  34. "domain_names": ["test.example.com"],
  35. "forward_host": "127.0.0.1",
  36. "forward_port": 8989,
  37. "access_list_id": 0,
  38. "certificate_id": 0,
  39. "ssl_forced": false,
  40. "caching_enabled": false,
  41. "block_exploits": false,
  42. "advanced_config": "",
  43. "meta": {
  44. "nginx_online": true,
  45. "nginx_err": null
  46. },
  47. "allow_websocket_upgrade": false,
  48. "http2_support": false,
  49. "forward_scheme": "http",
  50. "enabled": true,
  51. "locations": null,
  52. "hsts_enabled": false,
  53. "hsts_subdomains": false
  54. }
  55. ]
  56. }
  57. },
  58. "schema": {
  59. "$ref": "../../../components/proxy-host-list.json"
  60. }
  61. }
  62. }
  63. }
  64. }
  65. }