List Workflows

Back to Resources

Returns a collection of all workflows in a given cluster.

GET /clusters/:name/workflows

Response

200 OK
{
    "href" : "http://your.ambari.server/api/v1/clusters/c1/workflows",
    "items" : [
        {
            "href" : "http://your.ambari.server/api/v1/clusters/c1/workflows/mr_201305061943_0001",
            "Workflow" : {
                "cluster_name" : "c1",
                "workflow_id" : "mr_201305061943_0001"
            }
        },
        {
            "href" : "http://your.ambari.server/api/v1/clusters/c1/workflows/mr_201305061943_0002",
            "Workflow" : {
                "cluster_name" : "c1",
                "workflow_id" : "mr_201305061943_0002"
            }
        }
    ]
}