You can view a list of application deployments and the deployment status of an application deployment, or retrieve node details of a deployment.

Get Deployments

Retrieves a paginated list of application deployments.

All of the Application Services roles can access this API.

HTTP Method

GET

URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment?page=Page&page-size=PageSize

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment?page=0&page-size=1

Response

{
  "errors": false,
  "messageList": [],
  "count": 5,
  "results": [
    {
      "id": "6",
      "lockVersion": 5,
      "name": "appd-Clustered Dukes Bank App-2.1.0-admin-6-b452d90c-b72e-4737-8f45-3c7540cf932c",
      "description": null,
      "lastUpdated": 1378856459664,
      "lastUpdateUser": "SYSTEM",
      "created": 1378856410279,
      "createUser": "admin",
      "deploymentUri": "https://192.0.2.255/api/vApp/vapp-cabdfca3-108d-4571-b900-bce6d5e98071",
      "stateType": "DEPLOYMENT_ACTIVE",
      "statusMessage": "Deployment Success",
      "lastDeploymentProfileRef": {
        "uri": "/darwin/api/2.0/deployment-profile/12",
        "id": "12",
        "name": "DP"
      },
      "applicationVersionRef": {
        "uri": "/darwin/api/2.0/application-version/60070",
        "id": "60070",
        "name": "Clustered Dukes Bank App v2.1.0"
      },
      "deploymentTaskCount": 1
    }
  ]
}
}

Get Deployment Details

Retrieves an application deployment status based on the deployment ID.

All of the Application Services roles can access this API.

HTTP Method

GET

URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment/DeploymentID

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationServicesServerIP:8443/darwin/api/2.0/deployment/5

Response

{
  "errors": false,
  "messageList": [],
  "result": {
    "id": "6",
    "lockVersion": 5,
    "name": "appd-Clustered Dukes Bank App-2.1.0-admin-6-b452d90c-b72e-4737-8f45-3c7540cf932c",
    "description": null,
    "lastUpdated": 1378856459664,
    "lastUpdateUser": "SYSTEM",
    "created": 1378856410279,
    "createUser": "admin",
    "deploymentUri": " https://192.0.2.255/api/vApp/vapp-cabdfca3-108d-4571-b900-bce6d5e98071",
    "stateType": "DEPLOYMENT_ACTIVE",
    "statusMessage": "Deployment Success",
    "lastDeploymentProfileRef": {
      "uri": "/darwin/api/2.0/deployment-profile/12",
      "id": "12",
      "name": "DP"
    },
    "applicationVersionRef": {
      "uri": "/darwin/api/2.0/application-version/60070",
      "id": "60070",
      "name": "Clustered Dukes Bank App v2.1.0"
    },
    "deploymentTaskCount": 1
  }
}