查询所有泳道组。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
sae:ListAllSwimmingLaneGroups |
list |
*全部资源
|
无 | 无 |
请求语法
GET /pop/v1/cas/gray/listSwimmingLaneGroups HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| NamespaceId |
string |
否 |
命名空间 ID。 |
cn-beijing:test |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回信息。 |
||
| RequestId |
string |
请求 ID。 |
30375C38-F4ED-4135-A0AE-5C75DC7F**** |
| Message |
string |
附加信息。取值说明如下:
|
success |
| TraceId |
string |
调用链 ID,用于精确查询调用信息。 |
ac1a0b2215622246421415014e**** |
| Data |
array<object> |
返回结果。 |
|
|
array<object> |
泳道组纤细信息。 |
||
| GroupId |
integer |
泳道组 ID。 |
110283 |
| GroupName |
string |
泳道组名称。 |
mse-test |
| NamespaceId |
string |
命名空间 ID。 |
cn-beijing:test |
| MseNamespaceId |
string |
MSE 实例所在的命名空间 ID。 |
sae-ent |
| CanaryModel |
integer |
全链路灰度模式:
|
0 |
| AppIds |
array |
泳道组关联的应用 ID 列表。 |
|
|
string |
应用 ID 列表。 |
[ "1409e354-8b4c-4c53-ab35-f2765e******", "ef41218e-f96c-4d92-a5ed-1f6e83******", "52cc2015-265b-4cd6-8bb8-21ea4f******" ] |
|
| Apps |
array<object> |
应用信息。 |
|
|
object |
应用详细信息。 |
||
| AppId |
string |
应用 ID。 |
f5aad0d0-3e56-44cd-8199-9887a0****** |
| AppName |
string |
应用名称。 |
test |
| MseAppId |
string |
MSE 实例 ID。 |
mse-cn-53y49****** |
| MseAppName |
string |
MSE 实例名称。 |
demo |
| MseNamespaceId |
string |
MSE 实例所在命名空间的 ID。 |
sae-ent |
| EntryAppType |
string |
应用入口类型(网关类型)。
|
mse-gw |
| EntryAppId |
string |
对应网关实例 ID。 |
bq4g5bumop@e05bd4328****** |
| EntryApp |
object |
入口应用。 |
|
| AppId |
string |
应用 ID。 |
09805e5d-9b8d-42cd-9442-03c498****** |
| AppName |
string |
应用名称。 |
test |
| AppType |
string |
应用类型。 |
mse |
| MseAppId |
string |
MSE 实例 ID。 |
mse-cn-53y49****** |
| MseAppName |
string |
MSE 实例名称 |
test |
| MseNamespaceId |
string |
MSE 实例所在的命名空间 ID。 |
sae-ent |
| SwimVersion |
string |
全链路灰度版本,取值范围:0,2(推荐使用)。 |
2 |
| ErrorCode |
string |
错误码。取值说明如下:
|
|
| Code |
string |
接口状态或 POP 错误码。取值说明如下:
|
200 |
| Success |
boolean |
是否成功。取值说明如下:
|
true |
示例
正常返回示例
JSON格式
{
"RequestId": "30375C38-F4ED-4135-A0AE-5C75DC7F****",
"Message": "success",
"TraceId": "ac1a0b2215622246421415014e****",
"Data": [
{
"GroupId": 110283,
"GroupName": "mse-test",
"NamespaceId": "cn-beijing:test",
"MseNamespaceId": "sae-ent\n",
"CanaryModel": 0,
"AppIds": [
"[\n \"1409e354-8b4c-4c53-ab35-f2765e******\",\n \"ef41218e-f96c-4d92-a5ed-1f6e83******\",\n \"52cc2015-265b-4cd6-8bb8-21ea4f******\"\n ]"
],
"Apps": [
{
"AppId": "f5aad0d0-3e56-44cd-8199-9887a0******",
"AppName": "test",
"MseAppId": "mse-cn-53y49******",
"MseAppName": "demo",
"MseNamespaceId": "sae-ent"
}
],
"EntryAppType": "mse-gw",
"EntryAppId": "bq4g5bumop@e05bd4328******",
"EntryApp": {
"AppId": "09805e5d-9b8d-42cd-9442-03c498******",
"AppName": "test",
"AppType": "mse",
"MseAppId": "mse-cn-53y49******\n",
"MseAppName": "test",
"MseNamespaceId": "sae-ent"
},
"SwimVersion": "2"
}
],
"ErrorCode": "",
"Code": "200",
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | 不合法的参数:%s不能为空。 |
| 400 | InvalidParameter.Obviously | The specified parameter is invalid {%s}. | 不合法的参数{%s}。 |
| 400 | InvalidParameter.WithMessage | The parameter is invalid {%s}: %s | 不合法的参数{%s}:%s。 |
| 400 | MseGatewayRule.CreateFailed | Create MSE Gateway rule failed. | 创建MSE微服务网关路由失败。 |
| 400 | InternalApiError | An exception occurred when calling mse:%s, error message: %s. | 调用 mse:%s 接口异常,%s |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。