Werk #17003: REST API: change "Show hosts for specific condition" endpoint method from GET to POST

Component REST API
Title REST API: change "Show hosts for specific condition" endpoint method from GET to POST
Date Dec 3, 2024
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The REST API endpoint "Show hosts for specific condition" was only accessible via the GET method. This caused a limitation of the maximum size of query parameters that users could send in a request. A common practice to bypass this limitation is to use a POST request which in this case allows users to send requests of larger and more complex queries.

With this werk the REST API endpoint "Show hosts for specific condition" is now accessible via a POST request, taking all the formerly possible parameters as part of its request body.

This change deprecates the old endpoint via GET. It will be removed with Checkmk version 2.5.

To the list of all Werks