Koha-clms/api/v1/swagger
Julian Maurice b881cef7d3 Bug 23154: Add pagination to /api/v1/checkouts
Allow to use _page and _per_page query parameters for
/api/v1/checkouts
Also fix a timezone problem in t/db_dependent/api/v1/checkouts.t

Test plan:
1. With your favorite REST tester tool, or directly in the browser,
   fetch http://koha/api/v1/checkouts and check that you have results
2. Fetch /api/v1/checkouts?_per_page=1&_page=1 and check that only the
   first result is returned. Check that response contains headers
   X-Total-Count and Link
3. Fetch /api/v1/checkouts?_per_page=1&_page=2 and check that only the
   second result is returned. Check that response contains headers
   X-Total-Count and Link
4. prove t/db_dependent/api/v1/checkouts.t

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 088522032f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2019-07-25 13:22:25 +02:00
..
definitions Bug 22729: Adapt /patrons controller code to the change 2019-04-25 10:06:44 +00:00
parameters Bug 15496: Add API endoint for deleting a bib 2019-04-26 10:54:49 +00:00
paths Bug 23154: Add pagination to /api/v1/checkouts 2019-07-25 13:22:25 +02:00
definitions.json Bug 13895: Add API routes for checkouts retrieval and renewal 2019-03-28 19:38:41 +00:00
parameters.json Bug 15496: Add API endoint for deleting a bib 2019-04-26 10:54:49 +00:00
paths.json Bug 15496: Add API endoint for deleting a bib 2019-04-26 10:54:49 +00:00
swagger.json Bug 18137: Remove x-mojo-around-action 2017-09-21 11:27:05 -03:00
x-primitives.json Bug 19661: REST API - Funds Endpoint 2019-03-22 19:40:36 +00:00