Bug 29016: (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>
This commit is contained in:
Martin Renvoize 2026-04-29 10:02:56 +01:00 committed by Lucas Gass
parent c6a8634ff5
commit cd5e4d22a1
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
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 {