Skip to main content
Yosemite CrewDeveloper Docs

Audit Trail API

On this page

Read-only endpoints for retrieving the audit trail (the history of recorded actions) for a companion or an appointment. Called by the PIMS (Practice Information Management System, the clinic-facing web app); both routes require organisation RBAC (role-based access control) permissions.

Endpoints

GET /companion/:companionId

  • Auth: requireWebAuth
  • RBAC: withOrgPermissions, requirePermission
  • Params: companionId
  • Controller: AuditTrailController.listForCompanion

GET /appointment/:appointmentId

  • Auth: requireWebAuth
  • RBAC: withOrgPermissions, requirePermission
  • Params: appointmentId
  • Controller: AuditTrailController.listForAppointment