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

Component REST API
Title sla: range field for predefined_time_range parameter is mandatory
Date Feb 23, 2024
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.3.0b1 2.4.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks