Project

General

Profile

Actions

Feature #1524

closed

Add more attributes to JSON index

Added by Corey Osman about 12 years ago. Updated about 12 years ago.

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

Description

Currently foreman only returns a arrray of hostnames as the default index action for json output.

I would like to add more host attributes so I don't have to make more calls to foreman in future requests.

This will break versions of remoteadmin prior to upcoming 0.6 version and may cause issues with foreman CLI but I think its a better solution in the long run.

I am adding the following attributes:

id, hostgroup_id, puppet_status.

It will be easy to add more attributes later.


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #875: Non consistent behaviour of GET APIsDuplicate05/03/2011Actions
Actions #1

Updated by Corey Osman about 12 years ago

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

Also available in: Atom PDF