get.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "operationId": "getCertificate",
  3. "summary": "Get a Certificate",
  4. "tags": ["Certificates"],
  5. "security": [
  6. {
  7. "BearerAuth": ["certificates"]
  8. }
  9. ],
  10. "parameters": [
  11. {
  12. "in": "path",
  13. "name": "certID",
  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": 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. "schema": {
  47. "$ref": "../../../../components/certificate-object.json"
  48. }
  49. }
  50. }
  51. }
  52. }
  53. }