Skip to content
You are reading the pinned copy of v1.0, which is also the latest release. Read the latest.

Audit log (admin API)

Admin routes of the audit log module. Every route needs a staff session and the permission named on it; send X-Resolve-Locale: false to receive every locale of a translatable field for editing.

Search audit log entries

Parameters:

  • action in query (string, optional).
  • actor in query (string, max length 120, optional).
  • entityType in query (string, optional).
  • from in query (string, optional).
  • page in query (number, min 1, optional).
  • pageSize in query (number, min 1, max 100, optional).
  • to in query (string, optional).
  • userId in query (string, optional).

Responses:

  • 200: no description.

GET /v1/admin/audit-log/{entityType}/{entityId}

Section titled “GET /v1/admin/audit-log/{entityType}/{entityId}”

List audit log entries for one entity

Parameters:

  • entityId in path (string, required).
  • entityType in path (string, required).
  • action in query (string, optional).
  • actor in query (string, max length 120, optional).
  • entityType in query (string, optional).
  • from in query (string, optional).
  • page in query (number, min 1, optional).
  • pageSize in query (number, min 1, max 100, optional).
  • to in query (string, optional).
  • userId in query (string, optional).

Responses:

  • 200: no description.
As seen on Open Source Alternatives The Merchant Engine badge