Koha-clms/api/v1/swagger/paths
Tomas Cohen Arazi eaef2ce207 Bug 18729: (follow-up) Adjust API to new spec
The previous patch introduces some behavioural changes to the API, as
well as the data types that need to be passed; all happens in the tests.

This patch adapts the route so it complies with those changes:
- JSON object containing pickup_library_id attribute is now passed back
  and forth.
- The controller should take care of checking the pickup location is
  valid, using the available tools.

To test:
1. Apply the patches, up to the tests
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t
=> ERROR: Tests fail because the controller doesn't implement the
desired behavior
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 60a253c983)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-04-22 16:40:28 +02:00
..
acquisitions_funds.json Bug 24321: Clean /acquisitions/funds 2020-01-08 14:42:28 +00:00
acquisitions_orders.json Bug 25048: Make successful resource deletion return 204 2020-04-29 16:24:43 +01:00
acquisitions_vendors.json Bug 25048: Make successful resource deletion return 204 2020-04-29 16:24:43 +01:00
advancededitormacros.json Bug 25502: Adapt Advanced macros routes to current guidelines 2020-05-19 15:21:16 +01:00
biblios.json Bug 24908: Add text-formatted MARC support in /biblios/{biblio_id} 2020-04-29 17:13:36 +01:00
checkouts.json Bug 24083: Add support for unseen_renewals 2020-11-11 16:09:58 +01:00
circulation-rules.json Bug 18936: (follow-up) Update REST definition for /.../kinds 2020-02-04 09:56:24 +00:00
cities.json Bug 25279: Add general query parameters to the /cities route 2020-05-12 11:39:36 +01:00
clubs.json Bug 27330: (QA follow-up) Return 409 instead 2021-02-25 09:57:05 +01:00
config_smtp_servers.json Bug 22343: API routes for SMTP servers CRUD 2020-10-02 10:54:40 +02:00
holds.json Bug 18729: (follow-up) Adjust API to new spec 2021-04-22 16:40:28 +02:00
ill_backends.json Bug 22615: Add endpoint for getting one ill backend 2020-03-05 13:03:40 +00:00
illrequests.json Bug 25944: Schema fix for illrequests route 2020-07-16 15:32:51 +01:00
import_batch_profiles.json Bug 23019: (follow-up) Fix test permissions and API definition bugs 2020-11-11 15:55:49 +01:00
items.json Bug 23667: Add spec 2019-10-29 12:20:35 +00:00
libraries.json Bug 26595: Embed the whole smtp_server object 2020-10-14 15:53:38 +02:00
oauth.json Bug 20402: Implement OAuth2 authentication for REST API 2018-05-08 15:55:42 -03:00
patrons.json Bug 25048: Make successful resource deletion return 204 2020-04-29 16:24:43 +01:00
patrons_account.json Bug 23607: Make /patrons/:patron_id/account staff only 2019-09-27 14:00:48 +01:00
patrons_holds.json Bug 27366: Spec changes 2021-03-22 10:22:49 +01:00
patrons_password.json Bug 17006: OpenAPI spec 2019-01-28 15:25:39 +00:00
public_patrons.json Bug 23584: Add spec for PUT /public/patron/:patron_id/guarantors 2019-09-23 10:52:39 +01:00
return_claims.json Bug 14697: (QA follow-up) Organize tests in subtests 2019-10-31 12:05:14 +00:00
rotas.json Bug 11897: Use 'stockrotation' permission for the endpoint 2018-10-09 15:46:06 +00:00