Feature #9199
openAPI v2 should directly give the override value of smart class parameter for a given host
Description
Hello,
When I do
curl -kn -H "Accept: version=2,application/json" -H "Content-Type: application/json" https://foreman.mydoamin/api/hosts/myhost.mydomain/smart_class_parameters
or
curl -kn -H "Accept: version=2,application/json" -H "Content-Type: application/json" https://foreman.mydoamin/api/hosts/myhost.mydomain/smart_class_parameters/myparameter
I expect to directly get the value for of the smart class parameter for my host.
Today, the only way to have the real value for of the smart class parameter for my host is to test each override_values which is not user friendly at all.
I also posted 2 emails on the mailing list https://groups.google.com/forum/#!topic/foreman-users/4nVCKn2Sqv8
Regards,
Elodie
Updated by Dominic Cleal almost 10 years ago
- Related to Feature #3220: API for "rendered" view of host parameters, taking into account inheritance added
Updated by Elodie B almost 10 years ago
Hello,
Do you have any update on this ? It is an important feature to me, it will make foreman API more usable.
Regards,
Elodie
Updated by Dominic Cleal about 9 years ago
- Related to Feature #2391: be able to query API for host parameter data added