Nav

Get the Deployment History

The GET operation retrieves links to historical information about the specified deployment when appended with /history. Each deployment has a version history. Each individual version contains the applications deployed, the servers deployed to, and the status of the last deployment.

The resulting JSON data format contains two properties: latestVersion contains a link to the latest version of the deployment, and versions is an array that contains links to the individual deployment version details. These properties can be accessed as described in the deployment history details section below.

Example Request:


       
    
1
GET http://localhost:8080/console/api/deployments/local$0bc2e0b8-d9f1-468c-9aa3-2966f07b73e8/history

Example Response:


       
    
1
2
3
4
5
6
7
8
9
10
11
12
200
Transfer-Encoding: chunked
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Wed, 29 Jul 2015 15:21:25 GMT
 
{
  "latestVersion" : "http://localhost:8080/console/api/deployment/local$0bc2e0b8-d9f1-468c-9aa3-2966f07b73e8/local$917ca518-b34a-434a-bdbc-80aeba7dba70",
  "versions" : [
    "http://localhost:8080/console/api/deployment/local$0bc2e0b8-d9f1-468c-9aa3-2966f07b73e8/local$917ca518-b34a-434a-bdbc-80aeba7dba70"
  ]
}