[Koha-bugs] [Bug 13903] Add API routes to list, create, update, delete reserves
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 28 00:08:17 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13903
Jesse Weaver <jweaver at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #49843|0 |1
is obsolete| |
--- Comment #18 from Jesse Weaver <jweaver at bywatersolutions.com> ---
Created attachment 50852
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50852&action=edit
Bug 13903: Add API routes to list, create, update, delete reserves
GET /reserves?borrowernumber=X (list)
POST /reserves (create)
PUT /reserves/{reserve_id} (update)
DELETE /reserves/{reserve_id} (delete)
Unit tests in t/db_dependent/api/v1/reserves.t
Test plan:
1. Apply patch
2. Run unit tests
3. Play with the API with your favorite REST client, using documentation
in the swagger.json file
4. Try to make reserves until the maximum number of reserves for a user
is reached (you should have a 403 error)
Depends on bug 15126
Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>
Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list