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 about 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 #1

Updated by Dominic Cleal about 9 years ago

  • Related to Feature #3220: API for "rendered" view of host parameters, taking into account inheritance added
Actions #2

Updated by Elodie B about 9 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

Actions #3

Updated by Dominic Cleal over 8 years ago

  • Related to Feature #2391: be able to query API for host parameter data added
Actions

Also available in: Atom PDF