get.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "operationId": "getCertificates",
  3. "summary": "Get all certificates",
  4. "tags": ["Certificates"],
  5. "security": [
  6. {
  7. "BearerAuth": ["certificates"]
  8. }
  9. ],
  10. "parameters": [
  11. {
  12. "in": "query",
  13. "name": "expand",
  14. "description": "Expansions",
  15. "schema": {
  16. "type": "string",
  17. "enum": ["owner"]
  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": 4,
  31. "created_on": "2024-10-09T05:31:58.000Z",
  32. "modified_on": "2024-10-09T05:32:11.000Z",
  33. "owner_user_id": 1,
  34. "provider": "letsencrypt",
  35. "nice_name": "test.example.com",
  36. "domain_names": ["test.example.com"],
  37. "expires_on": "2025-01-07T04:34:18.000Z",
  38. "meta": {
  39. "letsencrypt_email": "[email protected]",
  40. "letsencrypt_agree": true,
  41. "dns_challenge": false
  42. }
  43. }
  44. ]
  45. }
  46. },
  47. "schema": {
  48. "$ref": "../../../components/certificate-list.json"
  49. }
  50. }
  51. }
  52. }
  53. }
  54. }