Werk #13651: API: fix user config show endpoints to include user attributes

Component REST API
Title API: fix user config show endpoints to include user attributes
Date Jan 12, 2022
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p19 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In the previous version, both the show user and show all users endpoints did not behave as intended hiding the user attributes. This werk changes this behaviour and also introduces proper field definitions for the response schema. The response of the user endpoint has also changed. Every attribute which was previously returned under "extensions.attributes", will now be returned directly under "extensions". You may have to change your scripts accordingly. The affected endpoints are:

/objects/user_config/user (get & put) /domain-types/user_config/collections/all (get & post)

To the list of all Werks