Missing API for associating config groups with hosts and hostgroups
There is API to manage config group itself but it seems we don't provide a way how to associate it with a host and hostgroup. Also hammer commands would be nice.
#2 Updated by Marek Hulán over 6 years ago
It seems it's not documented https://github.com/theforeman/foreman/blob/develop/app/controllers/api/v2/hosts_controller.rb#L40
#3 Updated by Dominic Cleal over 6 years ago
Yeah, they're almost entirely missing. A few have been added over time where somebody has wanted it documented, but we've not done it wholesale.
#2945 added these magic attrs originally and #2931 put it into API responses consistently, but from what I remember of the discussions at the time, Joseph wanted to find a way to document it automatically, which hasn't happened. We've established a pretty comprehensive list in #7568 which could be copied to API docs.