Queries lanes in a lane group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ListSwimmingLane |
list |
*All Resource
|
None | None |
Request syntax
GET /pop/v5/trafficmgnt/swimming_lanes HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
integer |
Yes |
The ID of the lane group. |
79 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The object data that is returned. |
||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| RequestId |
string |
The ID of the request. |
C2CDBBF9-9C9A-5AA1-9F39-094ADEB3**** |
| Data |
array<object> |
The data that is returned. |
|
|
array<object> |
|||
| NamespaceId |
string |
The ID of the microservices namespace. |
cn-hangzhou:pre2 |
| GroupId |
integer |
The ID of the lane group. |
156 |
| ScenarioSign |
string |
The expected tag. |
d0ad1052 |
| EntryRule |
string |
The conditions. |
[{\"condition\":\"AND\",\"enable\":true,\"path\":\"/\",\"priority\":1,\"restItems\":[{\"cond\":\"==\",\"datum\":\"value\",\"name\":\"tags\",\"operator\":\"rawvalue\",\"type\":\"header\",\"value\":\"value\"}]}] |
| Tag |
string |
The tag. |
2cb6b8a |
| EnableRules |
boolean |
Indicates whether the throttling rule is enabled. |
true |
| Name |
string |
The name of the lane. |
name |
| Id |
integer |
The ID of the lane. |
348 |
| SwimmingLaneAppRelationShipList |
array<object> |
The applications that are related to the lane. |
|
|
object |
|||
| AppName |
string |
The name of the application. |
prod-app-58846 |
| Rules |
string |
The association rule. |
"" |
| LaneId |
integer |
The ID of the lane. |
348 |
| AppId |
string |
The ID of the application. |
3b615783-01f1-4569-baa3-cb71bdb6**** |
| Extra |
string |
Additional information. |
edas-canary |
Examples
Success response
JSON format
{
"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"
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 601 | Edas.errorcode.ParameterInvalid.PointedParameter.message | The value of parameter {0} is invalid. | Invalid parameters: {0} |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.