Actions
Feature #15926
closedAdd a new endpoint to get ENC values of a host
Difficulty:
Triaged:
Bugzilla link:
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.
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3695 added
Updated by Daniel Lobato Garcia over 8 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.
Updated by Dominic Cleal over 8 years ago
- Has duplicate Feature #13973: Add Support to get Host YAML output from CLI and API. added
Updated by Dominic Cleal over 8 years ago
- Blocks Bug #16423: Hammer should provide commands for showing host's ENC YAML added
Updated by The Foreman Bot about 8 years ago
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman/pull/3907 added
Updated by Anonymous about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 45e7f2c7527ebcd9f531272f7f554f81822d146e.
Updated by Dominic Cleal about 8 years ago
- Tracker changed from Bug to Feature
- Translation missing: en.field_release set to 189
Actions