获取泳道组下的泳道列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
edas:ListSwimmingLane |
list |
*全部资源
|
无 | 无 |
请求语法
GET /pop/v5/trafficmgnt/swimming_lanes HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| GroupId |
integer |
是 |
泳道组 ID。 |
79 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回对象。 |
||
| Code |
integer |
状态码。 |
200 |
| Message |
string |
附加信息。 |
success |
| RequestId |
string |
请求 ID。 |
C2CDBBF9-9C9A-5AA1-9F39-094ADEB3**** |
| Data |
array<object> |
响应数据。 |
|
|
array<object> |
|||
| NamespaceId |
string |
微服务空间。 |
cn-hangzhou:pre2 |
| GroupId |
integer |
泳道组 ID。 |
156 |
| ScenarioSign |
string |
预期标签。 |
d0ad1052 |
| EntryRule |
string |
条件列表。 |
[{\"condition\":\"AND\",\"enable\":true,\"path\":\"/\",\"priority\":1,\"restItems\":[{\"cond\":\"==\",\"datum\":\"value\",\"name\":\"tags\",\"operator\":\"rawvalue\",\"type\":\"header\",\"value\":\"value\"}]}] |
| Tag |
string |
标签。 |
2cb6b8a |
| EnableRules |
boolean |
流控规则是否开启。 |
true |
| Name |
string |
泳道名称。 |
name |
| Id |
integer |
流控泳道 ID。 |
348 |
| SwimmingLaneAppRelationShipList |
array<object> |
流控泳道涉及应用列表。 |
|
|
object |
|||
| AppName |
string |
应用名称。 |
prod-app-58846 |
| Rules |
string |
关联规则。 |
"" |
| LaneId |
integer |
泳道 ID。 |
348 |
| AppId |
string |
应用 ID。 |
3b615783-01f1-4569-baa3-cb71bdb6**** |
| Extra |
string |
补充信息。 |
edas-canary |
示例
正常返回示例
JSON格式
{
"Code": 200,
"Message": "success",
"RequestId": "C2CDBBF9-9C9A-5AA1-9F39-094ADEB3****",
"Data": [
{
"NamespaceId": "cn-hangzhou:pre2",
"GroupId": 156,
"ScenarioSign": "d0ad1052",
"EntryRule": "[{\\\"condition\\\":\\\"AND\\\",\\\"enable\\\":true,\\\"path\\\":\\\"/\\\",\\\"priority\\\":1,\\\"restItems\\\":[{\\\"cond\\\":\\\"==\\\",\\\"datum\\\":\\\"value\\\",\\\"name\\\":\\\"tags\\\",\\\"operator\\\":\\\"rawvalue\\\",\\\"type\\\":\\\"header\\\",\\\"value\\\":\\\"value\\\"}]}]",
"Tag": "2cb6b8a",
"EnableRules": true,
"Name": "name",
"Id": 348,
"SwimmingLaneAppRelationShipList": [
{
"AppName": "prod-app-58846",
"Rules": "\"\"",
"LaneId": 348,
"AppId": "3b615783-01f1-4569-baa3-cb71bdb6****",
"Extra": "edas-canary"
}
]
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 601 | Edas.errorcode.ParameterInvalid.PointedParameter.message | The value of parameter {0} is invalid. | 无效输入参数:{0} |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。