]> git.koha-community.org Git - koha.git/commit
Bug 32734: Add REST endpoint to list biblios
authorAgustin Moyano <agustinmoyano@theke.io>
Fri, 17 Feb 2023 01:17:43 +0000 (22:17 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 13 Mar 2023 18:12:04 +0000 (15:12 -0300)
commita4fb1ca3d147dfe2757bba10225088db4236d430
tree5eb0d7d93a3a0c013f70562e6fd5955e4b00d766
parent2055c84a9583cc53fc71f054ccaa7eea1d559aae
Bug 32734: Add REST endpoint to list biblios

This patch adds an endpoint to list biblios

To test:
1. apply patch
2. enable basic auth
3. call to GET /api/v1/biblios 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/Koha/Biblios.t t/db_dependent/api/v1/biblios.t
6. sign off

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Hammat Wele <hammat.wele@inlibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Biblios.pm
Koha/REST/V1/Biblios.pm
api/v1/swagger/paths/biblios.yaml
t/db_dependent/api/v1/biblios.t