Koha-clms/api/v1/swagger
Alex Arnaud d2e3335208 Bug 22613: Add GET endpoint /patrons/{patron_id}/checkouts
This patch adds a new endpoint, for fetching checkouts from a specific
patron.

Test plan:

1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/patrons_checkouts.t
=> SUCCESS: Tests pass!
3. Run:
   $ curl -v -s -u koha:koha --request GET \
        http://kohadev.local/api/v1/patrons/{id}/checkouts
test with query parameters (they are the same as for /patrons/{id}/holds
=> SUCCESS: The API works!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 914afffd56)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-05-24 10:55:11 +02:00
..
definitions Bug 36482: Allow embedding desks and cash_registers on libraries endpoints 2024-05-24 10:15:27 +02:00
parameters Bug 29002: Add bookings objects and API classes 2023-11-03 12:04:07 -03:00
paths Bug 22613: Add GET endpoint /patrons/{patron_id}/checkouts 2024-05-24 10:55:11 +02:00
swagger.yaml Bug 22613: Add GET endpoint /patrons/{patron_id}/checkouts 2024-05-24 10:55:11 +02:00