get.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "operationId": "getAuditLog",
  3. "summary": "Get Audit Log Event",
  4. "tags": ["audit-log"],
  5. "security": [
  6. {
  7. "bearerAuth": [
  8. "admin"
  9. ]
  10. }
  11. ],
  12. "parameters": [
  13. {
  14. "in": "path",
  15. "name": "id",
  16. "description": "Audit Log Event ID",
  17. "schema": {
  18. "type": "integer",
  19. "minimum": 1
  20. },
  21. "required": true,
  22. "example": 1
  23. }
  24. ],
  25. "responses": {
  26. "200": {
  27. "description": "200 response",
  28. "content": {
  29. "application/json": {
  30. "examples": {
  31. "default": {
  32. "value": {
  33. "id": 1,
  34. "created_on": "2025-09-15T17:27:45.000Z",
  35. "modified_on": "2025-09-15T17:27:45.000Z",
  36. "user_id": 1,
  37. "object_type": "user",
  38. "object_id": 1,
  39. "action": "created",
  40. "meta": {
  41. "id": 1,
  42. "created_on": "2025-09-15T17:27:45.000Z",
  43. "modified_on": "2025-09-15T17:27:45.000Z",
  44. "is_disabled": false,
  45. "email": "[email protected]",
  46. "name": "Jamie",
  47. "nickname": "Jamie",
  48. "avatar": "//www.gravatar.com/avatar/6193176330f8d38747f038c170ddb193?default=mm",
  49. "roles": [
  50. "admin"
  51. ],
  52. "permissions": {
  53. "visibility": "all",
  54. "proxy_hosts": "manage",
  55. "redirection_hosts": "manage",
  56. "dead_hosts": "manage",
  57. "streams": "manage",
  58. "access_lists": "manage",
  59. "certificates": "manage"
  60. }
  61. }
  62. }
  63. }
  64. },
  65. "schema": {
  66. "$ref": "../../../components/audit-log-object.json"
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }