get.json 1.3 KB

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