]> git.koha-community.org Git - koha.git/commit
Bug 38204: Add api endpoint to list baskets
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 2 Oct 2024 15:35:27 +0000 (15:35 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 30 Oct 2024 06:47:40 +0000 (07:47 +0100)
commit64d9579c47994e6fd59acc879d956240f5ebcfbc
treeec901882b1fd89dc6bbf0f13a6e5015141a15557
parent9c1f70a353d07f70db92903427a791b0667d1af5
Bug 38204: Add api endpoint to list baskets

This patch adds an API endpoint to list baskets
It uses CanUserManageBasket to respect the users permissions and sysprefs

Test plan:
1) prove t/db_dependent/api/v1/acquisitions_baskets.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/REST/V1/Acquisitions/Baskets.pm
api/v1/swagger/definitions/basket.yaml
api/v1/swagger/paths/acquisitions_baskets.yaml
api/v1/swagger/swagger.yaml