List Services ===== [Back to Resources](index.md#resources) **Summary** Returns a collection of the services for the cluster identified by ":name". GET /clusters/:name/services **Response**
HTTP CODE Description
200 OK
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error
**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/PIG", "ServiceInfo" : { "cluster_name" : "c1", "service_name" : "PIG" } } ] }