Class AuditController

Assembly: redb.Tsak.Core.dll

Query the persistent admin audit trail.
GET /api/audit — filtered, paged, newest-first.

Reading the audit is an admin operation: the trail records who did what, which is
exactly the information a lower-privilege caller must not be able to enumerate.

[Route("/api/audit")]
[RequiresRole(new string[] { "admin" })]
public class AuditController : RedbController

Inheritance

Object→RedbController→AuditController

Inherited Members

Methods

Query(string?, string?, string?, string?, string?, int?, int?)

Returns audit entries matching the optional filters.

[HttpGet("")]
public Task<object> Query(string? actor, string? action, string? target, string? since, string? until, int? limit, int? offset)