Retrieves the list of applications with a specified tag in a specified lane group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ListAppBySwimmingLaneGroupTags |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tags |
array |
No |
The tags to query. |
|
|
string |
No |
The tags to query. |
gray |
|
| GroupId |
integer |
Yes |
The ID of the lane group. |
1 |
| Namespace |
string |
Yes |
The name of the Microservices Engine (MSE) namespace to query. |
default |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
RestResult |
||
| RequestId |
string |
The ID of the request. |
6832e76b-bb5f-4dea-****-************ |
| Success |
boolean |
Indicates whether the request is successful. |
True |
| ErrorCode |
string |
The error code. |
Success |
| Message |
string |
The additional information about the request. |
OK |
| Data |
object |
The data returned in the response. |
|
|
array<object> |
The returned information. |
||
|
object |
The list of applications. |
||
| UserId |
string |
The ID of the user to which the application belongs. |
12345 |
| RegionId |
string |
The region where the application is deployed. |
cn-hangzhou |
| Namespace |
string |
The microservice namespace where the application resides. |
default |
| AppName |
string |
The name of the application. |
example-app-name |
| AppId |
string |
The ID of the application. |
123456abcde@12345abcde |
Examples
Success response
JSON format
{
"RequestId": "6832e76b-bb5f-4dea-****-************",
"Success": true,
"ErrorCode": "Success",
"Message": "OK",
"Data": {
"key": [
{
"UserId": "12345",
"RegionId": "cn-hangzhou",
"Namespace": "default",
"AppName": "example-app-name",
"AppId": "123456abcde@12345abcde"
}
]
}
}
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.