Add a new endpoint to get ENC values of a host
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 almost 3 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.