Retrieves the list of applications.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:GetApplicationList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Region |
string |
Yes |
The region. |
cn-hangzhou |
| AppName |
string |
No |
The application name. |
rest-container |
| AppId |
string |
No |
The application ID. |
hkhon1po62@c3df23522b***** |
| Source |
string |
No |
The source of the application. The value is fixed as edasmsc. |
edasmsc |
| Language |
string |
No |
The programming language, such as Java or Go. |
Java |
| PageNumber |
integer |
Yes |
The page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. |
10 |
| SwitchEnable |
boolean |
No |
Specifies whether to enable the switch. |
true |
| SentinelEnable |
boolean |
No |
Specifies whether to enable the Sentinel component. |
true |
| Namespace |
string |
No |
The microservice namespace to which the application belongs. |
default |
| Tags |
array |
No |
Alibaba Cloud tags. You can perform filtering by Alibaba Cloud tag. |
|
|
object |
No |
The tag. |
||
| Key |
string |
No |
The custom tag key. It can contain up to 128 characters and cannot start with |
|
| Value |
string |
No |
The tag value. |
|
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
The data structure. |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Message |
string |
The message. |
The request is successfully processed. |
| RequestId |
string |
The request ID. |
F55E608F-7C15-****-9CFD-DF832EBC4A0F |
| Data |
object |
The data structure. |
|
| Result |
array |
The information about the applications. |
|
|
object |
The data structure. |
||
| Status |
integer |
The status. |
0 |
| ExtraInfo |
string |
The additional information. |
{} |
| AppName |
string |
The application name. |
finance |
| AppId |
string |
The application ID. |
hkhon1po62@5f1b08becb***** |
| UserId |
string |
The user ID. |
1234567890 |
| InstancesNumber |
integer |
The total number of instances. |
1 |
| Source |
string |
The source of the application. |
edasmsc |
| Language |
string |
The programming language of the application. |
JAVA |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| Namespace |
string |
The microservice namespace to which the application belongs. |
default |
| Tags |
object |
The Alibaba Cloud tags. |
|
| TotalSize |
integer |
The total number of entries. |
11 |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
Examples
Success response
JSON format
{
"Success": true,
"Message": "The request is successfully processed.\n",
"RequestId": "F55E608F-7C15-****-9CFD-DF832EBC4A0F",
"Data": {
"Result": [
{
"Status": 0,
"ExtraInfo": "{}",
"AppName": "finance",
"AppId": "hkhon1po62@5f1b08becb*****",
"UserId": "1234567890",
"InstancesNumber": 1,
"Source": "edasmsc",
"Language": "JAVA",
"RegionId": "cn-hangzhou",
"Namespace": "default",
"Tags": {
"test": "test",
"test2": 1
}
}
],
"TotalSize": 11,
"PageNumber": 1,
"PageSize": 10
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.