You can call this operation to query historical deployment package versions of an application.
Debugging
Request headers
This operation only uses common request headers. For more information, see the Common request parameters topic.
Request syntax
GET /pop/v5/app/deploy_history_version_list HTTPS|HTTP
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
AppId | String | Yes | 3616cdca-4f92-4413-****-************ |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 |
The returned code. |
Message | String | success |
The returned message. |
RequestId | String | D16979DC-4D42-************ | |
PackageVersionList | Array |
The returned list of deployment package versions of the application. |
|
Id | String | 441beb18-da42-44dc-****-************ |
The ID of the deployment package version of the application. |
PackageVersion | String | 1.0 |
The deployment package version released, which can be used for calling the RollbackApplication operation. |
AppId | String | 3616cdca-4f92-4413-****-************ |
The ID of the application that was queried. |
Description | String | deploy |
The description of the package deployment. |
WarUrl | String | http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar |
The URL of the web application archive (WAR) deployment package for the application queried. |
CreateTime | Long | 1573627440892 |
The time when the application version deployment task was created. |
UpdateTime | Long | 1573627440892 |
The time when the application version was updated. |
Type | String | url |
The deployment type of the application, for example, url or image. |
Examples
Sample requests
GET /pop/v5/app/deploy_history_version_list HTTP/1.1
Common request headers
{
"AppId": ""
}
Sample success responses
JSON
format
{
"PackageVersionList": {
"PackageVersion": [
{
"Description": "deploy",
"Type": "url",
"WarUrl": "http://edas-sz.oss-cn-shenzhen*********/SPRING_CLOUD_PROVIDER.jar",
"CreateTime": 1573627440892,
"PackageVersion": "2.0",
"AppId": "3616cdca-4f92-4413-****-************",
"UpdateTime": 1573627440892,
"Id": "441beb18-da42-44dc-****-************"
}
]
},
"Message": "success",
"Code": 200
}
XML
format
<PackageVersionList>
<PackageVersion>
<Description>deploy</Description>
<Type>url</Type>
<WarUrl>http://edas-sz.oss-cn-shenzhen*********/SPRING_CLOUD_PROVIDER.jar</WarUrl>
<CreateTime>1573627440892</CreateTime>
<PackageVersion>2.0</PackageVersion>
<AppId>3616cdca-4f92-4413-****-************</AppId>
<UpdateTime>1573627440892</UpdateTime>
<Id>441beb18-da42-44dc-****-************</Id>
</PackageVersion>
</PackageVersionList>
<Message>success</Message>
<Code>200</Code>
Error codes
For a list of error codes, visit the API Error Center.