Koha-clms/Koha/REST
Marcel de Rooy d3ea6d8cbd Bug 34999: Throw exception for public routes if OPACMaintenance is enabled
Test plan:
[1] Try public endpoint like /api/v1/public/biblios/X/items.
    * Replace X by an existing biblionumber.
    You should receive a 200.
[2] Enable OPACMaintenance. Set to Show.
[3] Try same endpoint. You should get a 503 with a json error.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 1fc82dd827)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 24b14de398)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-02-02 16:22:25 +00:00
..
Plugin Bug 33556: Path parameters are handled explicitly in the controllers 2023-08-07 20:05:46 -10:00
V1 Bug 34999: Throw exception for public routes if OPACMaintenance is enabled 2024-02-02 16:22:25 +00:00
V1.pm Bug 34271: Remove a few Logger statements from REST API 2023-10-24 21:31:04 -10:00