Koha-clms/api/v1/swagger/parameters
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
..
biblio.json Bug 15496: Add API endoint for deleting a bib 2019-04-26 10:54:49 +00:00
checkout.json Bug 13895: Adapt naming according to voted RFC 2019-03-28 19:38:41 +00:00
city.json Bug 20004: Adapt /v1/cities to new naming guidelines 2018-02-16 17:53:42 -03:00
fund.json Bug 19661: REST API - Funds Endpoint 2019-03-22 19:40:36 +00:00
hold.json Bug 20006: Spec changes 2019-03-15 19:35:26 +00:00
item.json Bug 16825: Add API route for getting an item 2019-09-13 15:03:15 +02:00
library.json Bug 16497: (follow-up) Adapt to existing guidelines and RFC 2019-02-19 13:52:14 +00:00
patron.json Bug 19784: Adapt /v1/patrons to new naming guidelines 2018-03-29 11:42:08 -03:00
vendor.json Bug 18120: Add '/acquisitions/vendors' endpoint 2017-09-29 17:13:13 -03:00