post.json 858 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "operationId": "testHttpReach",
  3. "summary": "Test HTTP Reachability",
  4. "tags": ["certificates"],
  5. "security": [
  6. {
  7. "bearerAuth": ["certificates.view"]
  8. }
  9. ],
  10. "requestBody": {
  11. "description": "Test Payload",
  12. "required": true,
  13. "content": {
  14. "application/json": {
  15. "schema": {
  16. "type": "object",
  17. "additionalProperties": false,
  18. "required": ["domains"],
  19. "properties": {
  20. "domains": {
  21. "$ref": "../../../../common.json#/properties/domain_names"
  22. }
  23. }
  24. }
  25. }
  26. }
  27. },
  28. "responses": {
  29. "200": {
  30. "description": "200 response",
  31. "content": {
  32. "application/json": {
  33. "examples": {
  34. "default": {
  35. "value": {
  36. "test.example.org": "ok",
  37. "test.example.com": "other:Invalid domain or IP",
  38. "nonexistent.example.com": "404"
  39. }
  40. }
  41. }
  42. }
  43. }
  44. }
  45. }
  46. }