]> git.koha-community.org Git - koha.git/commit
Bug 32735: Add endpoint to list authorities
authorAgustin Moyano <agustinmoyano@theke.io>
Tue, 28 Feb 2023 14:05:34 +0000 (11:05 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 15:13:49 +0000 (12:13 -0300)
commit67cafa719bac557d15e4447507ff5ef6e4063c17
treecf6344c1a531891327bb955dfd1bdcdae601c780
parentb2801da206e32e20bc64ef2fa0aa078440e86ba9
Bug 32735: Add endpoint to list authorities

This patch adds an endpoint to list authorities

To test:
1. apply patch
2. enable basic auth
3. call to GET /api/v1/authorities with the following Accept headers:
 * application/json
 * application/marcxml+xml
 * application/marc-in-json
 * application/marc
 * text/plain
4. notice how data changes with each Accept header
5. prove t/db_dependent/api/v1/authorities.t
6. sign off

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Authorities.pm
api/v1/swagger/paths/authorities.yaml
t/db_dependent/api/v1/authorities.t