All Products
Search
Document Center

Enterprise Distributed Application Service:ListSwimmingLane

Last Updated:Feb 01, 2024

Queries lanes in a lane group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /pop/v5/trafficmgnt/swimming_lanes

Request parameters

ParameterTypeRequiredDescriptionExample
GroupIdlongYes

The ID of the lane group.

79

Response parameters

ParameterTypeDescriptionExample
object

The object data that is returned.

Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

C2CDBBF9-9C9A-5AA1-9F39-094ADEB3****
Dataobject []

The data that is returned.

NamespaceIdstring

The ID of the microservices namespace.

cn-hangzhou:pre2
GroupIdlong

The ID of the lane group.

156
ScenarioSignstring

The expected tag.

d0ad1052
EntryRulestring

The conditions.

[{\"condition\":\"AND\",\"enable\":true,\"path\":\"/\",\"priority\":1,\"restItems\":[{\"cond\":\"==\",\"datum\":\"value\",\"name\":\"tags\",\"operator\":\"rawvalue\",\"type\":\"header\",\"value\":\"value\"}]}]
Tagstring

The tag.

2cb6b8a
EnableRulesboolean

Indicates whether the throttling rule is enabled.

true
Namestring

The name of the lane.

name
Idlong

The ID of the lane.

348
SwimmingLaneAppRelationShipListobject []

The applications that are related to the lane.

AppNamestring

The name of the application.

prod-app-58846
Rulesstring

The association rule.

""
LaneIdlong

The ID of the lane.

348
AppIdstring

The ID of the application.

3b615783-01f1-4569-baa3-cb71bdb6****
Extrastring

Additional information.

edas-canary

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
601Edas.errorcode.ParameterInvalid.PointedParameter.messageThe value of parameter {0} is invalid.Invalid parameters: {0}

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-05-08The Error code has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 601
Output ParametersThe response structure of the API has changed.