Werk #15431: rule: Return a 404 when a rule doesn't exist on the GET endpoint

Komponente REST API
Titel rule: Return a 404 when a rule doesn't exist on the GET endpoint
Datum 02.03.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p24 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

This werk is to fix an issue with the GET rule endpoint. Previously the response contained a bug report when the rule didn't exist. Now we conform to our other endpoints and return a 404 problem response.

Zur Liste aller Werks