Project

General

Profile

Feature #20500

Allow API GET /api/hostgroups to return hostgroup parameters

Added by Trey Dockendorf about 1 year ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I'd like to be able to get hostgroup parameters from the index API call for hostgroups.


Related issues

Related to Foreman - Bug #24735: "Parameters" are missing from the GET hostgroup api outputClosed

Associated revisions

Revision 45590c5b (diff)
Added by Trey Dockendorf about 1 year ago

Fixes #20500 - Allow GET /api/hostgroups to include parameters

Add include Array parameter to GET /api/hostgroups v2 that will
optionally include a hostgroup's parameters when the include parameter
contains 'parameters'.

History

#1 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4718 added

#2 Updated by Trey Dockendorf about 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Marek Hulán about 1 year ago

  • Legacy Backlogs Release (now unused) set to 296

#4 Updated by Trey Dockendorf about 1 year ago

Possible to get this in 1.16?

#5 Updated by The Foreman Bot about 2 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6003 added

#6 Updated by Ondřej Pražák about 2 months ago

  • Related to Bug #24735: "Parameters" are missing from the GET hostgroup api output added

Also available in: Atom PDF