Project

General

Profile

Actions

Feature #9199

open

API v2 should directly give the override value of smart class parameter for a given host

Added by Elodie B over 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 2 (2 open0 closed)

Related to Foreman - Feature #3220: API for "rendered" view of host parameters, taking into account inheritanceNew10/08/2013Actions
Related to Foreman - Feature #2391: be able to query API for host parameter dataNew04/10/2013Actions
Actions

Also available in: Atom PDF