Koha/api/v1/swagger/paths
Andreas Jonsson 02ad2a271d Bug 34008: Add REST endpoint for list of itemtypes
Test plan:
* Enable the system preference RESTBasicAuth
* curl -s --request GET http://kohadev-intra.mydnsname.org:8081/api/v1/itemtypes
  should give 401 Unauthorized
* curl -s -u koha:koha --request GET http://kohadev-intra.mydnsname.org:8081/api/v1/itemtypes
  should produce JSON-list of itemtypes
* curl -s -u koha:koha --header "x-koha-embed: translated_descriptions" --request GET http://kohadev-intra.mydnsname.org:8081/api/v1/itemtypes
  should include the field translated_descriptions containing the translated descriptions, if any

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
[EDIT] perltidy -b t/db_dependent/api/v1/itemtypes.t # Resolve bad score of 44
[EDIT] chmod 755 t/db_dependent/api/v1/itemtypes.t
[EDIT] perltidy -b Koha/REST/V1/ItemTypes.pm
Lesson: Please run qa tools yourself and adjust accordingly?
Edit (tcohen): I restored the item_type_translated_description.yaml file
as the entire API was broken because of the lack of it.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 82bdf93ab7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-11-07 22:41:49 -10:00
..
acquisitions_baskets.yaml
acquisitions_funds.yaml
acquisitions_orders.yaml Bug 33993: Add order_receive to GET orders endpoints 2023-07-17 13:38:52 +01:00
acquisitions_vendors.yaml Bug 33103: Embed aliases in GET /vendors 2023-04-20 15:48:38 -03:00
advancededitormacros.yaml
article_requests.yaml
auth.yaml Bug 34313: Add patron information in pass validation response 2023-08-29 21:09:30 -10:00
authorised_value_categories.yaml Bug 32997: Add REST API endpoint to list authorised values for multiple given categories 2023-03-02 12:00:15 -03:00
authorised_values.yaml Bug 32997: (QA follow-up) values => authorised_values 2023-03-02 12:00:17 -03:00
authorities.yaml Bug 32735: Add endpoint to list authorities 2023-05-05 12:13:49 -03:00
biblios.yaml Bug 34211: Add +strings for GET /api/v1/biblios/:biblio_id/items 2023-07-18 12:26:05 +01:00
biblios_item_groups.yaml Bug 32923: Fix new occurrences of x-koha-embed at top level 2023-02-27 11:07:14 -03:00
cash_registers.yaml
checkouts.yaml Bug 32923: Fix new occurrences of x-koha-embed at top level 2023-02-27 11:07:14 -03:00
circulation-rules.yaml
cities.yaml
clubs.yaml
config_smtp_servers.yaml
erm_agreements.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
erm_config.yaml Bug 33606: Mark the endpoint as experimental 2023-11-02 11:17:31 -10:00
erm_documents.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
erm_eholdings_packages.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
erm_eholdings_packages_resources.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
erm_eholdings_resources.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
erm_eholdings_titles.yaml Bug 34789: Database and API update 2023-09-18 10:27:46 -10:00
erm_eholdings_titles_resources.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
erm_licenses.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
erm_users.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
holds.yaml Bug 34333: Add embed option for cancellation_requested for holds 2023-09-18 11:42:11 -10:00
ill_backends.yaml Bug 22440: Move backend statuses api endpoint 2023-05-05 09:13:43 -03:00
ill_requests.yaml Bug 22440: ILL API changes 2023-05-05 09:13:42 -03:00
import_batch_profiles.yaml
import_batches.yaml
item_types.yaml Bug 34008: Add REST endpoint for list of itemtypes 2023-11-07 22:41:49 -10:00
items.yaml Bug 34054: Allow to embed biblio on GET /items 2023-09-22 09:42:52 -10:00
jobs.yaml
libraries.yaml
oauth.yaml
patrons.yaml
patrons_account.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
patrons_extended_attributes.yaml
patrons_holds.yaml Bug 34333: Add embed option for cancellation_requested for holds 2023-09-18 11:42:11 -10:00
patrons_password.yaml
public_oauth.yaml
public_patrons.yaml Bug 33573: Add public endpoint for cancelling holds 2023-07-17 15:56:59 +01:00
quotes.yaml
return_claims.yaml
rotas.yaml
search_filters.yaml Bug 34387: Improve API docs naming consistency 2023-08-17 08:41:10 -10:00
suggestions.yaml
tickets.yaml Bug 31028: Add catalog concern management page to staff 2023-03-06 11:23:17 -03:00
transfer_limits.yaml