[Koha-bugs] [Bug 23667] Add API route for listing items
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 30 12:24:01 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23667
--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 93230
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93230&action=edit
Bug 23667: Add route to GET /items
This patchset introduces a route to fetch items. It relies on the
already implemented code/mappings to get a single item.
To test:
- Apply this patches
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/items.t
=> SUCCESS: Tests pass!
- Try the endpoint with your favourite API tool (Postman?)
- Sign off :-D
Note: to do exact searching on barcode, you need to build the query like
this:
GET /api/v1/items?external_id=<your_barcode>&_match=exact
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list