https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16825
Michal Denar <blac...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #91399|0 |1 is obsolete| | --- Comment #47 from Michal Denar <blac...@gmail.com> --- Created attachment 91401 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91401&action=edit Bug 16825: Add API route for getting an item GET /api/v1/items/{item_id} Gets one Item This patch adds route to get one item from koha.items table. To test: 1. Apply patch 2. Open a browser tab on Koha staff and log in (to create CGISESSID cookie). 3. Send GET request to http://yourlibrary/api/v1/items/YYY where YYY is an existing itemnumber. 4. Make sure the returned data is correct. 5. Run unit tests in t/db_dependent/api/v1/items.t Sponsored-by: Koha-Suomi Oy Signed-off-by: Josef Moravec <josef.mora...@gmail.com> Signed-off-by: Johanna Raisa <johanna.ra...@gmail.com> Signed-off-by: Michal Denar <blac...@gmail.com> -- 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/