Project

General

Profile

Feature #3220

API for "rendered" view of host parameters, taking into account inheritance

Added by Dominic Cleal almost 6 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

From #3111:

What would be extremely useful for hosts, is a way to return a smart parameter, like if rendering kickstart templates or externalNodes:
/api/hosts/myhost/parameters/myparam would then return the host parameter myparam, if not set the hostgroup parameter myparam, if not set the operating system parameter myparam, if not set the common parameter myparam.


Related issues

Related to Foreman - Bug #3111: v2 API calls to /api/[class]/[object]/parameters/[parameter] don't work correctlyClosed2013-09-17
Related to Foreman - Feature #9199: API v2 should directly give the override value of smart class parameter for a given hostNew2015-02-03
Related to Foreman - Bug #11763: Host API does not return all parameters (e.g. from locations, et al.)Closed2015-09-10
Related to Foreman - Feature #2391: be able to query API for host parameter dataNew2013-04-10
Related to Foreman - Feature #13973: Add Support to get Host YAML output from CLI and API.Duplicate2016-03-01
Has duplicate Foreman - Feature #5727: externalNodes in JSON via APIDuplicate2014-05-14

History

#1 Updated by Dominic Cleal almost 6 years ago

  • Related to Bug #3111: v2 API calls to /api/[class]/[object]/parameters/[parameter] don't work correctly added

#2 Updated by Dominic Cleal over 5 years ago

  • Has duplicate Feature #5727: externalNodes in JSON via API added

#3 Updated by Dominic Cleal over 4 years ago

  • Related to Feature #9199: API v2 should directly give the override value of smart class parameter for a given host added

#5 Updated by Stephen Benjamin almost 4 years ago

  • Related to Bug #11763: Host API does not return all parameters (e.g. from locations, et al.) added

#6 Updated by Dominic Cleal almost 4 years ago

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

#7 Updated by Dominic Cleal over 3 years ago

  • Related to Feature #13973: Add Support to get Host YAML output from CLI and API. added

Also available in: Atom PDF