View Application Deployment History

get

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

Retrieves detailed information about the deployment history of an application.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
The response body contains information about application deployments.
Root Schema : viewall-deployments-response
Type: object
The response body contains information about application deployments.
Show Source
Nested Schema : deploymentInfo
Type: array
Deployment details
Show Source
Nested Schema : environmentVariables
Type: array
Show all environment variables for the deployment
Show Source
Nested Schema : processes
Type: array
Show all processes details of the application
Show Source
Nested Schema : serviceBindings
Type: array
Show all service bindings for the deployment
Show Source
Nested Schema : viewDeployInfo
Type: object
The response body contains information about application deployments.
Show Source
Nested Schema : viewEnvironment
Type: object
The response body contains information about all application environment variables.
Show Source
Nested Schema : viewProcessesDef
Type: object
The response body contains information about processes definitions.
Show Source
Nested Schema : viewServiceBindings
Type: object
The response body contains information about all application service bindings.
Show Source
Back to Top

Examples

The following example shows how to retrieve all deployments 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/deployments

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.

{
  "releases": [
    {
      "environment": "Java",
      "environmentMajorVersion": "8",
      "environmentVersion": "1.8.0_71-b15",
      "environmentDisplayVersion": "Java SE 8u71",
      "autoMinorVersionUpdate": false,
      "deploymentInfo": {
        "deploymentId": "e27d094b-4c73-42a9-a94d-9a76ec1eec26",
        "deploymentNumber": "1",
        "deploymentStatus": "READY",
        "creationTime": "2016-02-26T19:21:04.110+0530",
        "buildNumber": "150520.1154",
        "commitId": "d8c2596364d9584050461",
        "source": "ORACLE",
        "size": 6710151,
        "archiveName": "java-sample-15.4.6.1.1.zip",
        "uploadedBy": "weblogic",
        "deploymentVersion": "15.1.0",
        "releaseNotes": "notes for release"
      },
      "processes": [
        {
          "processName": "web",
          "processCommand": "sh target/bin/start",
          "memory": "2G",
          "quantity": 1
        }
      ],
      "environmentVariables": [],
      "serviceBindings": []
    }
  ]
}
Back to Top