Summary
Returns a collection of the services for the cluster identified by “:name”.
GET /clusters/:name/services
Response
Example
Get the collection of the services for the cluster named “c1”.
GET /clusters/c1/services 200 OK { "href" : "http://your.ambari.server/api/v1/clusters/c1/services", "items" : [ { "href" : "http://your.ambari.server/api/v1/clusters/c1/services/NAGIOS", "ServiceInfo" : { "cluster_name" : "c1", "service_name" : "NAGIOS" } }, { "href" : "http://your.ambari.server/api/v1/clusters/c1/services/HCATALOG", "ServiceInfo" : { "cluster_name" : "c1", "service_name" : "HCATALOG" } }, { "href" : "http://your.ambari.server/api/v1/clusters/c1/services/PIG", "ServiceInfo" : { "cluster_name" : "c1", "service_name" : "PIG" } } ] }