View Application Instances

get

/paas/service/apaas/api/v1.1/apps/{identityDomainId}/{appName}/instances

Retrieves detailed information about all instances of an application.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
The response body contains information about all application instances.
Root Schema : viewInstances-response
Type: object
The response body contains information about all application instances.
Show Source
Nested Schema : processes
Type: array
Process details of an application
Show Source
Nested Schema : viewProcesses
Type: object
The response body contains information about all application processes.
Show Source
Nested Schema : instances
Type: object
Instances of the application process
Show Source
Nested Schema : viewInstance
Type: object
Show Source
Back to Top

Examples

The following example shows how to display details of all instances of an Oracle Application Cloud Service application by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, including how to determine your region, see Send Requests.

curl -i -X GET -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleIdentityDomain/ExampleAppName/instances

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 
200 OK  
Date: Wed, 04 Feb 2015 21:24:33 GMT  
Transfer-Encoding: chunked  
Content-Type: application/json

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
"processes": [
         {
             "processName": "web",
             "instances": [
                 {
                     "name": "web.1",
                     "status": "RUNNING",
                     "instanceURI": "https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleIdentityDomain/ExampleAppName/instances/web.1"
                 }
             ]
         }
     ],
     "identityDomain": "ExampleIdentityDomain",
     "applicationDetails": "ExampleAppName"
 }
Back to Top