Koha/api/v1/swagger/definitions
Lari Taskula e9e6537fae
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>
2019-09-12 16:41:09 +01:00
..
account_line.json
allows_renewal.json Bug 17003: (follow-up) Update definitions according to voted RFC 2019-07-01 16:10:15 +01:00
checkout.json Bug 13895: Adapt naming according to voted RFC 2019-03-28 19:38:41 +00:00
checkouts.json Bug 13895: Add API routes for checkouts retrieval and renewal 2019-03-28 19:38:41 +00:00
city.json
error.json
fund.json
hold.json Bug 9834: (QA follow-up) API Corrections 2019-06-20 17:12:12 +01:00
holds.json
item.json Bug 16825: Add API route for getting an item 2019-09-12 16:41:09 +01:00
library.json
patron.json Bug 20691: (QA follow-up) API-related fixes 2019-09-11 08:54:03 +01:00
patron_account_credit.json
patron_balance.json
vendor.json