Koha-clms/api/v1/swagger/paths
Agustin Moyano a902efb83b
Bug 19618: Add api endpoint for club holds
This patch adds an endpoint in thi api in /api/v1/clubs/{club_id}/holds whith the verb POST that maps to Koha::REST::V1::Clubs::Holds#add controller.
Classes for club_holds and club_holds_to_patron_holds new tables where also added.

To test:
1) Reach SUCCESS.3 test point of previous patch with club that has no enrollments
2) Click on "Place Hold"
SUCCESS => an alert should appear that you cannot place hold on a club without patrons
3) Reach SUCCESS.3 test point of previous patch with club that has enrollments
4) Click on "Place Hold"
SUCCESS => holds priority list should appear with holds for every patron in club
5) Repeat steps 3 and 4.
SUCCESS => new holds should appear in different order
6) Sign off

Sponsored-by: Southeast Kansas Library - SEKLS
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-01 08:05:58 +01:00
..
acquisitions_funds.json Bug 19661: Add and change properties and parameters to conform to the funds RFC. 2019-03-22 19:40:37 +00:00
acquisitions_vendors.json Bug 18120: (QA followup) 'vendors_manage' permission fits better than full acq 2017-09-29 17:13:13 -03:00
biblios.json Bug 15496: (QA follow-up) Change success status on api 2019-04-26 12:06:58 +00:00
checkouts.json Bug 17003: (follow-up) Update definitions according to voted RFC 2019-07-01 16:10:15 +01:00
cities.json Bug 22227: Make GET /cities staff only 2019-02-15 18:42:46 +00:00
clubs.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
holds.json Bug 23517: Add a spec for PUT /holds/{hold_id}/priority 2019-09-23 11:51:58 +01:00
illrequests.json Bug 20563: Allow display of requested partners 2019-03-15 19:33:37 +00:00
items.json Bug 16825: Add API route for getting an item 2019-09-12 16:41:09 +01:00
libraries.json Bug 16497: (follow-up) GET operations require staff access 2019-02-19 13:52:14 +00:00
oauth.json Bug 20402: Implement OAuth2 authentication for REST API 2018-05-08 15:55:42 -03:00
patrons.json Bug 22216: Make GET /patrons/{patron_id} staff only 2019-02-22 13:15:11 +00:00
patrons_account.json Bug 23607: Make /patrons/:patron_id/account staff only 2019-09-27 14:00:48 +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
rotas.json Bug 11897: Use 'stockrotation' permission for the endpoint 2018-10-09 15:46:06 +00:00