Werk #17003 · Dec 3, 24
REST API: change "Show hosts for specific condition" endpoint method from GET to POST
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.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- REST API
- Versions:
- 2.4.0b1All Editions
- 2.3.0p23CommunityProUltimateUltimate + MT