Bug 29016 [25.11.x]: (QA follow-up) Document the action_logs list controller

Replace the empty =head3 stub with a proper synopsis explaining the URL,
the supported filtering / ordering / embed surface, and the permission
requirement. Aligns the controller with the documentation density of
other Koha REST controllers and removes the "Missing POD" QA noise.

Test plan:
  1. perl -MKoha::REST::V1::ActionLogs -e ''  (still loads)
  2. perl -c Koha/REST/V1/ActionLogs.pm        (still parses)
  3. perldoc Koha/REST/V1/ActionLogs.pm        (renders the new POD)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
Martin Renvoize 2026-04-29 10:02:56 +01:00 committed by Jacob O'Mara
parent 3089c74f6f
commit 99ffc00e62
No known key found for this signature in database
1 changed files with 9 additions and 0 deletions

View File

@ -29,6 +29,15 @@ use Try::Tiny qw( catch try );
=head3 list
GET /api/v1/action_logs
Returns a list of action_log entries.
Filtering, ordering, pagination and embeds (C<librarian>, C<patron>) are
all driven by the standard Koha REST query parameters and the
C<x-koha-embed> header. Authorisation requires the C<tools.view_system_logs>
permission.
=cut
sub list {