Werk #14256: REST-API objects/ruleset: Change status code to 404 when ruleset doesn't exist

Component REST API
Title REST-API objects/ruleset: Change status code to 404 when ruleset doesn't exist
Date May 20, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The objects ruleset endpoint previously returned a 500 internal server error when the ruleset didn't exist. This werk changes the status code to a 404 'Unknown ruleset'

To the list of all Werks