Retrieves all tags in the current traffic lane group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:GetTagsBySwimmingLaneGroupId |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
integer |
Yes |
The ID of the traffic lane group. |
154 |
| Namespace |
string |
No |
The name of the 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 request ID. |
69AD2AA7-DB47-449B-941B-B14409DF**** |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
mse-100-000 |
| Message |
string |
The returned message. |
The request is processed successfully. |
| Data |
array |
The tag data. |
["gray"] |
|
string |
The tag data. |
[{"desc":"k8s-pod-label","priority":100,"tag":"gray","type":"tag"}] |
Examples
Success response
JSON format
{
"RequestId": "69AD2AA7-DB47-449B-941B-B14409DF****",
"Success": true,
"ErrorCode": "mse-100-000",
"Message": "The request is processed successfully.",
"Data": [
"[{\"desc\":\"k8s-pod-label\",\"priority\":100,\"tag\":\"gray\",\"type\":\"tag\"}]"
]
}
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.