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

Komponente REST API
Titel API: fix user config show endpoints to include user attributes
Datum 12.01.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p19 2.1.0b3 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

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)

Zur Liste aller Werks