[Koha-bugs] [Bug 13895] Add API routes for issues retrieval and renewal

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 23 17:41:41 CET 2015


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

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 37146
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37146&action=edit
Bug 13895: Add API routes for issues retrieval and renewal

GET /borrowers/{borrowernumber}/issues
GET /borrowers/{borrowernumber}/issues/{itemnumber}
PUT /borrowers/{borrowernumber}/issues/{itemnumber}

+ unit tests in t/db_dependent/api/v1/borrowers/issues.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 renew the same issue (with PUT) until the maximum number of
renewals is reached (you should have a 403 error then)
3/ Run unit tests in t/db_dependent/api/v1/borrowers/issues.t

Depends on bug 13799

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list