get.json 1.5 KB

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