Add a new endpoint to get ENC values of a host
|Assigned To:||Ondřej Pražák|
|Target version:||Team Marek Iteration 4|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/3695, https://github.com/theforeman/foreman/pull/3907|
|Velocity based estimate||-|
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.
#2 Updated by Daniel Lobato Garcia over 1 year 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.