Koha-clms/api/v1/swagger/definitions
Tomas Cohen Arazi d8be3d5084 Bug 27894: Adapt /holds/:hold_id/pickup_locations
This patch makes the controller for the route, return all valid pickup
locations (i.e. pickup_location => 1) when AllowHoldPolicyOverride is
set to 'Allow', but also adds a calculated attribute: 'needs_override'
so the consumer knows the specific pickup location needs an override
(and thus be able to provide visual feedback on a single run).

To test:
1. Apply the regression tests
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t
=> FAILURE: Tests fail, the change is not implemented
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-07 16:08:04 +02:00
..
account_line.json Bug 26271: Add null to the list of accepted account_line data types 2020-09-03 14:18:23 +02:00
advancededitormacro.json Bug 17268: Advanced cataloging editor macros - add endpoint 2020-05-04 08:25:21 +01:00
allows_renewal.json Bug 17003: (follow-up) Update definitions according to voted RFC 2019-07-01 16:10:15 +01:00
basket.json Bug 18731: OpenAPI definitions 2020-01-09 16:25:57 +00:00
cashup.json Bug 26274: Add cashups api routes 2021-02-12 12:33:41 +01:00
checkout.json Bug 24083: Add support for unseen_renewals 2020-11-11 16:09:58 +01:00
checkouts.json Bug 13895: Add API routes for checkouts retrieval and renewal 2019-03-28 19:38:41 +00:00
circ-rule-kind.json Bug 18936: (follow-up) Add foreign key and scope enhancement to circ rules 2020-02-04 09:56:24 +00:00
city.json Bug 20004: Adapt /v1/cities to new naming guidelines 2018-02-16 17:53:42 -03:00
club_hold.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
club_hold_patron_hold.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
club_hold_patron_holds.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
club_holds.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
error.json Bug 16699: Move Swagger-related files to api/v1/swagger 2016-08-26 12:08:52 +00:00
fund.json Bug 23843: Add mapping to Koha::Acquisition::Fund 2019-10-23 18:03:24 +01:00
hold.json Bug 22789: Add non priority feature to C4 classes and staff interface 2020-08-31 16:10:25 +02:00
holds.json Bug 16699: Move Swagger-related files to api/v1/swagger 2016-08-26 12:08:52 +00:00
ill_backend.json Bug 22615: Add /ill_backends endpoint 2020-03-05 13:03:32 +00:00
ill_backends.json Bug 22615: Add /ill_backends endpoint 2020-03-05 13:03:32 +00:00
import_batch_profile.json Bug 23019: (follow-up) Fix usability issues 2020-11-11 15:55:49 +01:00
import_batch_profiles.json Bug 23019: (follow-up) Fix usability issues 2020-11-11 15:55:49 +01:00
invoice.json Bug 18731: OpenAPI definitions 2020-01-09 16:25:57 +00:00
item.json Bug 19889: Add new attribute to the REST API definition 2020-09-01 12:22:06 +02:00
library.json Bug 27894: Adapt /holds/:hold_id/pickup_locations 2021-04-07 16:08:04 +02:00
order.json Bug 20212: Add more embeddable objects to orders 2021-01-28 16:44:11 +01:00
patron.json Bug 27855: (QA follow-up) Rename extended_attribute to patron_extended_attribute 2021-03-09 10:31:47 +01:00
patron_account_credit.json Bug 24592: Reword LOST_RETURN to LOST_FOUND 2020-02-13 15:58:49 +00:00
patron_balance.json Bug 20942: Split debit and credit lines 2018-07-18 16:49:27 +00:00
patron_extended_attribute.json Bug 27855: (QA follow-up) Rename extended_attribute to patron_extended_attribute 2021-03-09 10:31:47 +01:00
quote.json Bug 27251: Rewrite QOTD with the Koha REST API 2021-01-29 09:03:45 +01:00
return_claim.json Bug 14697: Add routes to handle return claims 2019-10-31 12:04:13 +00:00
smtp_server.json Bug 22343: API routes for SMTP servers CRUD 2020-10-02 10:54:40 +02:00
transfer_limit.json Bug 26633: Add REST API for managing transfer limits 2021-03-16 16:08:30 +01:00
vendor.json Bug 18120: Update field descriptions 2017-09-29 17:13:13 -03:00