Project

General

Profile

Actions

Bug #1115

closed

Host parameters are not available via the API

Added by Matt Moran over 12 years ago. Updated almost 12 years ago.

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

Description

If a host has parameters, these are not available/editable via the API.

i.e.
curl -H "Content-Type:application/json" -H "Accept:application/json" http://foreman:3000/hosts/FQDN

Does not return the hosts parameters. The parameters that should be returned are host level and not ones that are inherited from a group or domain etc.

Actions #1

Updated by Ohad Levy about 12 years ago

  • Status changed from New to Resolved

this was already done for 0.4

Actions #2

Updated by Marcello de Sousa almost 12 years ago

  • Status changed from Resolved to Feedback
  • Assignee set to Ohad Levy
  • Target version set to 1.0

This is not working yet. The patches are available here but are not committed in the current develop branch:

https://github.com/eedri/foreman/commit/79950a62f02913ebd780c0396028b6c52221c26a#L2R689

Actions #3

Updated by Ohad Levy almost 12 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF