Koha-clms/api/v1/swagger/definitions
Emmi Takkinen 310d19e6b3 Bug 37021: Change item_id type as integer in holds endpoint
When one makes a GET call to holds endpoint and hold has
item attached to it, item_id is handled as string not integer
as it should.

To reproduce:
1. Make sure you have hold waiting in your database.
2. Call endpoint api/v1/holds/?q=[{"me.status":"W"}].
=> Note that holds item_id is displayed as item_id: "12345".
3. Apply this patch.
4. Call endpoint again.
=> item_id should now be displayed as 12345.

Also prove t/db_dependent/api/v1/holds.t.

Signed-off-by: Jan Kissig <jkissig@th-wildau.de>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 20e0c056c6)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-07-10 16:54:54 +00:00
..
account_line.yaml
…
advancededitormacro.yaml
…
allows_renewal.yaml
…
authorised_value.yaml
…
authorised_value_category.yaml Bug 28869: (RM follow-up) Add missing field in api definition 2024-05-17 14:39:54 +01:00
basket.yaml
…
booking.yaml Bug 36120: Ensure pickup_library_id is NOT NULL 2024-05-03 16:02:49 +02:00
bundle_link.yaml
…
cash_register.yaml Bug 36481: (QA follow-up) Rename branch_default to library_default 2024-05-01 13:51:41 +01:00
cashup.yaml
…
checkout.yaml
…
checkout_availability.yaml
…
checkouts.yaml
…
circ-rule-kind.yaml
…
city.yaml
…
club_hold.yaml
…
club_hold_patron_hold.yaml
…
club_hold_patron_holds.yaml
…
club_holds.yaml
…
credit.yaml
…
debit.yaml
…
desk.yaml Bug 36480: Add GET /libraries/:library_id/desks 2024-04-26 18:06:10 +02:00
edifact_file.yaml Bug 30070: EDIFACT and ID are abbreviations 2024-01-17 11:38:59 +01:00
erm_agreement.yaml
…
erm_agreement_license.yaml
…
erm_agreement_period.yaml
…
erm_agreement_relationship.yaml
…
erm_config.yaml
…
erm_counter_file.yaml Bug 34587: API swagger paths and definitions 2023-10-31 16:45:53 -03:00
erm_counter_log.yaml Bug 34587: Remove counter files from API embedding to improve performance 2023-10-31 16:46:21 -03:00
erm_counter_registry.yaml Bug 35757: Add new fields to api definitions 2024-01-11 12:10:44 +01:00
erm_custom_report.yaml Bug 34587: Abstract reports backend to allow new data types 2023-10-31 16:46:07 -03:00
erm_default_usage_report.yaml Bug 34587: Add default report capability to reports viewer 2023-10-31 16:46:02 -03:00
erm_document.yaml
…
erm_eholdings_package.yaml
…
erm_eholdings_package_agreement.yaml
…
erm_eholdings_resource.yaml
…
erm_eholdings_title.yaml Bug 36618: Make biblio creation optional for ERM local titles 2024-05-08 20:04:07 +02:00
erm_license.yaml
…
erm_license_agreement.yaml
…
erm_sushi_service.yaml Bug 35757: Add new fields to api definitions 2024-01-11 12:10:44 +01:00
erm_usage_data_provider.yaml Bug 34587: Remove counter files from API embedding to improve performance 2023-10-31 16:46:21 -03:00
erm_usage_database.yaml Bug 34587: Add list endpoints for usage_databases/items/platforms 2023-10-31 16:46:08 -03:00
erm_usage_item.yaml Bug 34587: Add list endpoints for usage_databases/items/platforms 2023-10-31 16:46:08 -03:00
erm_usage_mus.yaml Bug 34587: Move YOP to mus/yus instead of erm_usage_titles 2023-10-31 16:46:29 -03:00
erm_usage_platform.yaml Bug 34587: Add list endpoints for usage_databases/items/platforms 2023-10-31 16:46:08 -03:00
erm_usage_title.yaml Bug 34587: Move YOP to mus/yus instead of erm_usage_titles 2023-10-31 16:46:29 -03:00
erm_usage_yus.yaml Bug 34587: Move YOP to mus/yus instead of erm_usage_titles 2023-10-31 16:46:29 -03:00
erm_user_role.yaml
…
error.yaml
…
fund.yaml
…
hold.yaml Bug 37021: Change item_id type as integer in holds endpoint 2024-07-10 16:54:54 +00:00
holds.yaml
…
identity_provider.yaml
…
identity_provider_domain.yaml
…
ill_backend.yaml
…
ill_backends.yaml
…
ill_batch.yaml Bug 30719: (QA follow-up) Pick better column names and cleanup 2023-10-17 14:45:23 -03:00
ill_batches.yaml Bug 30719: (QA follow-up) Rename illbatches endpoint to ill/batches 2023-10-17 14:45:20 -03:00
ill_batchstatus.yaml Bug 30719: (QA follow-up) Rename illbatchstatuses 2023-10-17 14:45:22 -03:00
ill_batchstatuses.yaml Bug 30719: (QA follow-up) Rename illbatchstatuses 2023-10-17 14:45:22 -03:00
ill_request.yaml Bug 30719: Rename `batch` for `ill_batch` in Koha::Illrequest 2023-10-17 14:45:25 -03:00
ill_status.yaml
…
import_batch_profile.yaml
…
import_batch_profiles.yaml
…
import_record_match.yaml
…
invoice.yaml
…
item.yaml Bug 16122: API and Schema updates 2024-04-26 14:14:59 +02:00
item_group.yaml
…
item_type.yaml Bug 34008: Harmonize attribute names 2023-11-01 17:23:15 -03:00
item_type_translated_description.yaml Bug 34008: Add REST endpoint for list of itemtypes 2023-11-01 17:23:14 -03:00
job.yaml
…
library.yaml Bug 36120: Add pickup_items to the pickup_locations response 2024-05-03 16:02:46 +02:00
merge_biblios.yaml Bug 33036: REST API: Merge biblio records implements merging of records 2024-03-18 11:03:39 +01:00
order.yaml
…
patron.yaml Bug 35744: Implement +strings for GET /patrons/:patron_id 2024-01-29 12:24:59 +01:00
patron_account_credit.yaml
…
patron_balance.yaml
…
patron_category.yaml Bug 26297: (follow-up) Fix specification file 2024-04-30 12:00:56 +02:00
patron_extended_attribute.yaml
…
preservation_config.yaml Bug 30708: Do not allow non-authorised users to edit the settings 2023-10-18 15:42:01 -03:00
preservation_processing.yaml Bug 33547: Add print slip 2023-10-23 11:33:51 -03:00
preservation_processing_attribute.yaml Bug 30708: REST API specs 2023-10-18 15:41:40 -03:00
preservation_train.yaml Bug 30708: Fix API specs 2023-10-20 10:00:58 -03:00
preservation_train_item.yaml Bug 35230: (bug 30708 follow-up) fix description for catalogue_item 2023-11-03 12:04:47 -03:00
quote.yaml
…
recall.yaml Bug 35967: (QA follow-up) `status` is not nullable 2024-04-19 19:54:44 +02:00
recalls.yaml Bug 35967: Add REST API endpoint to list patron recalls 2024-04-19 19:54:43 +02:00
record_source.yaml Bug 35919: Add /record_sources endpoints 2024-04-26 17:06:03 +02:00
renewal.yaml
…
renewals.yaml
…
return_claim.yaml
…
search_filter.yaml
…
smtp_server.yaml
…
suggestion.yaml Bug 32942: (follow-up) Fix typo 2023-09-19 15:51:39 -03:00
ticket.yaml Bug 35657: Add support for assignee_id to ticket_updates endpoint 2024-05-02 15:03:35 +02:00
ticket_update.yaml Bug 35657: Add support for assignee_id to ticket_updates endpoint 2024-05-02 15:03:35 +02:00
transfer_limit.yaml
…
vendor.yaml
…
vendor_alias.yaml
…
vendor_issue.yaml Bug 33105: Fix vendor api spec 2023-07-20 10:59:29 -03:00