Queries a list of applications.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /pop/v5/app/app_list
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClusterId | string | No | The cluster ID. Specify this parameter if you want to filter applications by cluster. | c37aec2a-bcca-4ec1-****-************ |
LogicalRegionId | string | No | The namespace ID. Specify this parameter if you want to filter applications by namespace. | cn-beijing:test |
AppName | string | No | The name of the application. Specify this parameter if you want to filter applications by application name. | testapp |
ResourceGroupId | string | No | The ID of the resource group. Specify this parameter if you want to filter applications by resource group. | rg-aek24j4s4b***** |
LogicalRegionIdFilter | string | No | The ID of the namespace that you use in the exact search to filter applications. | cn-beijing:test |
AppIds | string | No | The application IDs. | [ "5657d271-****-4f03-9bb2-431f942886bb", "5657d271-****-4f03-9bb2-431f942bbddd" ] |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": 200,
"Message": "success",
"RequestId": "5d6fa0bc-cc3**********",
"ApplicationList": {
"Application": [
{
"AppId": "00ee517d-dd7d-4d4e-****-************",
"RegionId": "cn-beijing:docTes",
"Name": "doc-test-consumer",
"Instances": 5,
"Port": 8080,
"State": "RUNNING",
"CreateTime": 1664208000000,
"SlbIp": "192.168.0.***",
"SlbPort": 80,
"SlbListenerPort": 8088,
"ExtSlbListenerPort": 8080,
"BuildPackageId": 58,
"ExtSlbIp": "100.100.70.***",
"ApplicationType": "FatJar",
"ClusterType": 2,
"RunningInstanceCount": 0,
"ClusterId": "c37aec2a-bcca-4ec1-****-************",
"ResourceGroupId": "rg-aek24j4s4b*****",
"K8sNamespace": "default",
"NamespaceId": "cn-hangzhou:test"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||
---|---|---|---|---|---|---|---|---|
2023-07-12 | The request parameters of the API has changed | see changesets | ||||||
| ||||||||
2023-03-17 | The response structure of the API has changed | see changesets | ||||||
|