Project

General

Profile

Actions

Feature #15926

closed

Add a new endpoint to get ENC values of a host

Added by Bryan Kearney over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Fixed in Releases:
Found in Releases:

Description

I'm trying to get all host parameters via API as we can get using UI YAML button, which calls to /hosts/<fqdn>/externalNodes?name=<fqdn>. Need an endpoint for this.


Related issues 2 (0 open2 closed)

Has duplicate Foreman - Feature #13973: Add Support to get Host YAML output from CLI and API.Duplicate03/01/2016Actions
Blocks Hammer CLI - Bug #16423: Hammer should provide commands for showing host's ENC YAMLClosedOleh Fedorenko09/02/2016Actions
Actions #1

Updated by The Foreman Bot over 7 years ago

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

Updated by Daniel Lobato Garcia over 7 years ago

Bryan, you can get all the parameters of a host at api/v2/hosts/$FQDN/ - the key is 'all_parameters'. Alternatively you can use precisely the externalNodes endpoint you mentioned - what's the use case for this? It seems like adding it to the API is duplicating an endpoint.

Actions #3

Updated by Bryan Kearney over 7 years ago

  • Bugzilla link set to 1362372
Actions #4

Updated by Dominic Cleal over 7 years ago

  • Has duplicate Feature #13973: Add Support to get Host YAML output from CLI and API. added
Actions #5

Updated by Dominic Cleal over 7 years ago

  • Blocks Bug #16423: Hammer should provide commands for showing host's ENC YAML added
Actions #6

Updated by Marek Hulán over 7 years ago

  • Target version set to 1.5.0
Actions #7

Updated by The Foreman Bot over 7 years ago

  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman/pull/3907 added
Actions #8

Updated by Anonymous over 7 years ago

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

Updated by Dominic Cleal over 7 years ago

  • Tracker changed from Bug to Feature
  • translation missing: en.field_release set to 189
Actions

Also available in: Atom PDF