get.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "operationId": "getDeadHosts",
  3. "summary": "Get all 404 hosts",
  4. "tags": ["404 Hosts"],
  5. "security": [
  6. {
  7. "BearerAuth": ["dead_hosts"]
  8. }
  9. ],
  10. "parameters": [
  11. {
  12. "in": "query",
  13. "name": "expand",
  14. "description": "Expansions",
  15. "schema": {
  16. "type": "string",
  17. "enum": ["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-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. },
  50. "schema": {
  51. "$ref": "../../../components/dead-host-list.json"
  52. }
  53. }
  54. }
  55. }
  56. }
  57. }