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:
parent
c6a8634ff5
commit
cd5e4d22a1
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue