Member since
01-11-2017
8
Posts
0
Kudos Received
0
Solutions
06-16-2017
08:42 AM
Then you will need to parse the REST result of the /hosts?view=full [0] endpoint which gives you map of host-to-roleRef "The list of roles assigned to this host." $ curl -u admin:admin -X GET "http://cm-server:7180/api/v12/hosts?view=full" [0] https://cloudera.github.io/cm_api/apidocs/v16/ns0_apiHost.html
... View more