Werk #12952: REST API: make endpoint responses more specific
|Component||Core & setup|
|Title||REST API: make endpoint responses more specific|
|Date||Jul 12, 2021|
|Checkmk Editon||Checkmk Raw (CRE)|
|Checkmk Version||2.0.0p8 2.1.0i1|
|Compatibility||Incompatible - Manual interaction might be required|
Some endpoints of host_config and folder_config had the unspecific endpoint-type of DomainObject and DomainObjectCollection. These have now been upgraded to HostConfigCollection, HostConfigObject, FolderObject and FolderCollection.
Some automatically generated API clients for statically typed programming languages may throw exceptions after these changes. You will have to recreate your API client based on the specification provided with the 2.0.0p8 release.
The behaviour of the endpoints have not been changes, so if you use an API client in a dynamically typed language or a hand-written one, you may not have to change anything.To the list of all Werks