Queries the list of microservice application instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:GetApplicationInstanceList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Namespace |
string |
No |
The Microservices Engine (MSE) namespace to which the application belongs. |
default |
| AppName |
string |
No |
The application name. |
example-app |
AppId
deprecated
|
string |
No |
The application ID. |
abcde@12345 |
| Tag |
string |
No |
The tags that you want to add to nodes. |
gray |
| PageNumber |
integer |
Yes |
The page number. Pages start from page 1. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. |
20 |
| Region |
string |
No |
The region. |
cn-hangzhou |
| AcceptLanguage |
string |
No |
The response language. Valid values: zh (Chinese, default) and en (English). |
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
object |
The returned data. |
|
| Result |
array<object> |
The queried nodes. |
|
|
array<object> |
|||
| Ip |
string |
The node IP address. |
10.1.2.3 |
| Tags |
array<object> |
The node tags. |
|
|
object |
|||
| Tag |
string |
The tag value. |
gray |
| Port |
string |
The application port. |
8080 |
| TotalSize |
integer |
The total number of nodes. |
100 |
| PageNumber |
integer |
The page number. Pages start from page 1. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
Examples
Success response
JSON format
{
"Data": {
"Result": [
{
"Ip": "10.1.2.3",
"Tags": [
{
"Tag": "gray"
}
],
"Port": "8080"
}
],
"TotalSize": 100,
"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.