[Koha-bugs] [Bug 17007] REST API: add route to get biblio

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 1 05:04:58 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17007

--- Comment #1 from Jiří Kozlovský <mail at jkozlovsky.cz> ---
Created attachment 53823
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53823&action=edit
Bug 17007: REST API: add route to get biblio

This patch adds route to get one biblio from koha.biblios table. On top of this
biblio there is added key "items" with value being array of items belonging to
the requested biblio.

To test:
1. Open a browser tab on Koha staff and log in (to create CGISESSID
   cookie).
2. Send GET request to http://yourlibrary/api/v1/biblios/YYY
   where YYY is an existing biblionumber.
3. Make sure the returned data is correct.
4. Run unit tests in t/db_dependent/api/v1/biblios.t

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


More information about the Koha-bugs mailing list