get.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "operationId": "getDeadHost",
  3. "summary": "Get a 404 Host",
  4. "tags": ["404-hosts"],
  5. "security": [
  6. {
  7. "bearerAuth": ["dead_hosts.view"]
  8. }
  9. ],
  10. "parameters": [
  11. {
  12. "in": "path",
  13. "name": "hostID",
  14. "description": "The ID of the 404 Host",
  15. "schema": {
  16. "type": "integer",
  17. "minimum": 1
  18. },
  19. "required": true,
  20. "example": 1
  21. }
  22. ],
  23. "responses": {
  24. "200": {
  25. "description": "200 response",
  26. "content": {
  27. "application/json": {
  28. "examples": {
  29. "default": {
  30. "value": {
  31. "id": 1,
  32. "created_on": "2024-10-09T01:38:52.000Z",
  33. "modified_on": "2024-10-09T01:38:52.000Z",
  34. "owner_user_id": 1,
  35. "domain_names": ["test.example.com"],
  36. "certificate_id": 0,
  37. "ssl_forced": false,
  38. "advanced_config": "",
  39. "meta": {
  40. "nginx_online": true,
  41. "nginx_err": null
  42. },
  43. "http2_support": false,
  44. "enabled": true,
  45. "hsts_enabled": false,
  46. "hsts_subdomains": false
  47. }
  48. }
  49. },
  50. "schema": {
  51. "$ref": "../../../../components/dead-host-object.json"
  52. }
  53. }
  54. }
  55. }
  56. }
  57. }