Koha-clms/api/v1/swagger/paths
Tomas Cohen Arazi b1404ce298 Bug 30663: Add x-koha-override options to /suggestions
This patch adds the x-koha-override header parameter to the route that
is used to create suggestions, POST /suggestions.

The idea is that adding suggestions will be rejected under certain
conditions unless x-koha-override is passed with appropriate values. The
added overrides are:

* any
* max_total
* max_pending

Tests are added for the expected behavior.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 25317416e6)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-06-25 04:48:54 +02:00
..
acquisitions_funds.json Bug 28613: Add missing parameters to objects.search-based routes 2021-10-29 11:56:29 -04:00
acquisitions_orders.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
acquisitions_vendors.json Bug 28613: Add missing parameters to objects.search-based routes 2021-10-29 11:56:29 -04:00
advancededitormacros.json Bug 28613: Add missing parameters to objects.search-based routes 2021-10-29 11:56:29 -04:00
biblios.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
cash_registers.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
checkouts.json Bug 28613: Add missing parameters to objects.search-based routes 2021-10-29 11:56:29 -04:00
circulation-rules.json Bug 28463: Add missing tags 2021-05-27 17:17:19 +02:00
cities.yaml Bug 29072: Move reference route /cities spec to YAML 2021-10-01 14:26:59 -04:00
clubs.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
config_smtp_servers.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
holds.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
ill_backends.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
illrequests.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
import_batch_profiles.json Bug 28613: Add missing parameters to objects.search-based routes 2021-10-29 11:56:29 -04:00
items.json Bug 28613: Add missing parameters to objects.search-based routes 2021-10-29 11:56:29 -04:00
libraries.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
oauth.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
patrons.json Bug 29018: Make DELETE /patrons/:patron_id check things 2022-01-10 22:04:58 +00:00
patrons_account.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
patrons_extended_attributes.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
patrons_holds.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
patrons_password.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
public_patrons.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
quotes.json Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00
return_claims.json Bug 28271: Adjust API spec 2022-02-17 20:30:57 +00:00
rotas.json Bug 28463: Add missing tags 2021-05-27 17:17:19 +02:00
suggestions.yaml Bug 30663: Add x-koha-override options to /suggestions 2022-06-25 04:48:54 +02:00
transfer_limits.yaml Bug 28463: Add summary to all routes 2021-05-27 17:17:19 +02:00