http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13903

--- Comment #1 from Julian Maurice <julian.maur...@biblibre.com> ---
Created attachment 37210
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37210&action=edit
Bug 13903: Add API routes to list, create, update, delete reserves

GET    /borrowers/reserves    (list)
POST   /borrowers/reserves    (create)
PUT    /reserves/{reserve_id} (update)
DELETE /reserves/{reserve_id} (delete)

Unit tests in t/db_dependent/api/v1/borrowers/reserves.t and
t/db_dependent/api/v1/reserves.t

Test plan:
1/ Go to http://api.yourlibrary/v1/doc and test the above routes with
different values for each parameter
2/ Try to make reserves until the maximum number of reserves for a user
is reached (you should have a 403 error then)
3/ Run unit tests

Depends on bug 13799

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to