Werk #16371: sla: range field for predefined_time_range parameter is mandatory

Komponente REST API
Titel sla: range field for predefined_time_range parameter is mandatory
Datum 23.02.2024
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk-Version 2.3.0b1 2.4.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Before this werk, when the sla was computed for a predefined time range without specifying the range field, an error status 500 Internal Server Error was returned. This werk solves the problem by checking for the existence of the range field, and if it does not exist, the endpoint returns an error status 400 - Bad Request.

Zur Liste aller Werks