Koha/t/db_dependent/api/v1
Martin Renvoize b0a570796c
Bug 33146: Add public items lookup route
This patch adds a /public equivilent to the item listing endpoint.

This allows us to search for an item by it's external_id (barcode).

Test plan
1. Apply patch
2. Perform a GET on /api/v1/public/items?external_id=some_barcode
3. Confirm that the above endpoint correctly returns items that should
   be visible in the OPAC

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Bug 33146: (QA follow-up) Do not delete all items in test

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Bug 33146: Allow embedding expanded coded values

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Bug 33146: (QA follow-up) Consistency with /biblios/:biblio_id/items

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Bug 33146: (QA follow-up) Make sure public API enabled for tests

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-31 12:26:57 +02:00
..
acquisitions_baskets.t
acquisitions_funds.t
acquisitions_orders.t
acquisitions_vendors.t
advanced_editor_macros.t
article_requests.t
auth.t
auth_authenticate_api_request.t
auth_basic.t
authorised_values.t
authorities.t
biblios.t Bug 32336: Add unit test for UNIMARC encoding problems in REST API 2023-03-31 11:56:46 +02:00
cashups.t
checkouts.t
cities.t
clubs_holds.t
erm_agreements.t
erm_documents.t
erm_eholdings_packages.t
erm_eholdings_resources.t
erm_eholdings_titles.t
erm_licenses.t
erm_users.t
holds.t
idp.t
illrequests.t
import_batch_profiles.t
import_record_matches.t
item_groups.t
items.t Bug 33146: Add public items lookup route 2023-03-31 12:26:57 +02:00
jobs.t
libraries.t
oauth.t
pagination.t
password_validation.t
patrons.t Bug 32426: (follow-up) Fix api/v1/patrons.t 2023-03-28 14:54:04 +02:00
patrons_accounts.t
patrons_extended_attributes.t
patrons_holds.t
patrons_password.t
patrons_password_expiration.t
query.t Bug 32713: Unit tests 2023-03-16 16:12:26 -03:00
return_claims.t
search_filters.t
smtp_servers.t
stockrotationstage.t
suggestions.t
ticket_updates.t
tickets.t
transfer_limits.t
two_factor_auth.t
unhandled_exceptions.t