Skip to content

Latest commit

 

History

History
81 lines (69 loc) · 2.48 KB

list-all-applications.adoc

File metadata and controls

81 lines (69 loc) · 2.48 KB

List All Applications

logo cloud active logo hybrid disabled logo server disabled logo pcf disabled

Tip
This document deals with calling the CloudHub API. For instructions on how to perform these same tasks more easily via the Runtime Manager UI, see CloudHub and its child pages.

The GET operation specified with the /api/applications resource returns a list of all applications for your account. The resulting JSON contains a list of application objects.

Example Request:

GET https://anypoint.mulesoft.com/cloudhub/api/applications

Example Response:

200 OK
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Sun, 18 Jan 2015 00:12:55 GMT

{
  {
    "domain":"hello",
    "fullDomain":"hello.cloudhub.io",
    "workers":1,
    "hasFile":false,
    "muleVersion":"3.6.0",
    "properties": {
      "foo":"bar"
    },"
    "status":"STARTED",
    "workerStatuses":[
      {
        "id":"123",
        "host":"0.0.0.0",
        "port":8081,
        "status":"STARTED"
      }
     ]
  },
  {
    "domain":"world",
    "fullDomain":"world.cloudhub.io",
    "workers":2,
    "hasFile":false,
    "status":"STARTED",
    "workerStatuses":[
      {
        "id":"456",
        "host":"0.0.0.0",
        "port":8081,
        "status":"STARTED"
      }
     ]
  }
}
Tip

Check out the API Portal of the CloudHub API to see an interactive reference of all the supported resources, methods, required properties and expected responses.

In the link above, search among other Mule APIs for the "CloudHub" API and click on its latest version.