Koha-clms/Koha/REST/V1
Lari Taskula 814c5a00b4 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.moravec@gmail.com>
Signed-off-by: Johanna Raisa <johanna.raisa@gmail.com>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit e9e6537fae)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2019-09-13 15:03:15 +02:00
..
Acquisitions Bug 19661: Add and change properties and parameters to conform to the funds RFC. 2019-03-22 19:40:37 +00:00
Patrons Bug 22600: Add 'interface' to accountlines 2019-04-10 19:43:11 +00:00
Auth.pm Bug 22600: Add 'api' to interface types and set appropriately 2019-04-10 19:43:11 +00:00
Biblios.pm Bug 15496: (QA follow-up) Change success status on api 2019-04-26 12:06:58 +00:00
Checkouts.pm Bug 17003: (follow-up) Update definitions according to voted RFC 2019-07-25 14:12:55 +02:00
Cities.pm Revert "Bug 22026: Removed 'use Modern::Perl;' from Koha::REST::classes" 2019-02-26 11:04:08 -05:00
Holds.pm Bug 22206: (follow-up) Voted RFC changes 2019-03-15 19:35:30 +00:00
Illrequests.pm Bug 21460: (follow-up) Fix bugs found in QA 2019-04-25 10:46:56 +00:00
Items.pm Bug 16825: Add API route for getting an item 2019-09-13 15:03:15 +02:00
Library.pm Bug 16497: (follow-up) Adapt to existing guidelines and RFC 2019-02-19 13:52:14 +00:00
OAuth.pm Revert "Bug 22026: Removed 'use Modern::Perl;' from Koha::REST::classes" 2019-02-26 11:04:08 -05:00
Patrons.pm Bug 22729: Adapt /patrons controller code to the change 2019-04-25 10:06:44 +00:00
Stage.pm Revert "Bug 22026: Removed 'use Modern::Perl;' from Koha::REST::classes" 2019-02-26 11:04:08 -05:00