get.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "operationId": "getDeadHost",
  3. "summary": "Get a 404 Host",
  4. "tags": ["404 Hosts"],
  5. "security": [
  6. {
  7. "BearerAuth": ["dead_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-09T01:38:52.000Z",
  32. "modified_on": "2024-10-09T01:38:52.000Z",
  33. "owner_user_id": 1,
  34. "domain_names": ["test.example.com"],
  35. "certificate_id": 0,
  36. "ssl_forced": false,
  37. "advanced_config": "",
  38. "meta": {
  39. "nginx_online": true,
  40. "nginx_err": null
  41. },
  42. "http2_support": false,
  43. "enabled": true,
  44. "hsts_enabled": false,
  45. "hsts_subdomains": false
  46. }
  47. }
  48. },
  49. "schema": {
  50. "$ref": "../../../../components/dead-host-object.json"
  51. }
  52. }
  53. }
  54. }
  55. }
  56. }