Queries historical deployment packages of an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadApplication |
get |
*Application
|
None | None |
Request syntax
GET /pop/v5/app/deploy_history_version_list HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see ListApplication. |
3616cdca-4f92-4413-****-************ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| RequestId |
string |
The ID of the request. |
D16979DC-4D42-************ |
| PackageVersionList |
object |
||
| PackageVersion |
array<object> |
The information about historical deployment packages. |
|
|
object |
|||
| Type |
string |
The deployment mode of the application. Valid values:
|
url |
| PublicUrl |
string |
The URL of the deployment package. |
http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar |
| UpdateTime |
integer |
The time when the deployment package was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. |
1573627440892 |
| Description |
string |
The description of the deployment package. |
deploy |
| CreateTime |
integer |
The time when the deployment package was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. |
1573627440892 |
| AppId |
string |
The ID of the application. |
3616cdca-4f92-4413-****-************ |
| WarUrl |
string |
The URL of the deployment package. |
http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar |
| Id |
string |
The unique ID of the deployment package. |
441beb18-da42-44dc-****-************ |
| PackageVersion |
string |
The version of the application that was released by using the deployment package. This version can be used to call the RollbackApplication operation. |
1.0 |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "D16979DC-4D42-************",
"PackageVersionList": {
"PackageVersion": [
{
"Type": "url",
"PublicUrl": "http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar",
"UpdateTime": 1573627440892,
"Description": "deploy",
"CreateTime": 1573627440892,
"AppId": "3616cdca-4f92-4413-****-************",
"WarUrl": "http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar",
"Id": "441beb18-da42-44dc-****-************",
"PackageVersion": "1.0"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.