You can do this:
/api/v1/clusters/<cluster-name>/host_components?component/ServiceComponentInfo/category=CLIENT&HostRoles/host_name=<hostname> - Sid ________________________________ From: Latha Appanna <[email protected]> Sent: Monday, September 25, 2017 9:06 AM To: [email protected] Subject: API to Get list of client components on a specific host Hello, Can we have a filter in below Ambari api to get the list of components on a specific host? curl -H "X-Requested-By: ambari" -X GET "https://ambari_server:port/api/v1/clusters/<cluster_name>/components?ServiceComponentInfo/category=CLIENT&fields=ServiceComponentInfo/category" Thanks & Regards, Latha
