All Products
Search
Document Center

Serverless App Engine:ListAllSwimmingLanes

Last Updated:Dec 17, 2025

Queries all swimlanes.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
sae:ListAllSwimmingLaneslist
*All Resources
*
    none
none

Request syntax

GET /pop/v1/cas/gray/listSwimmingLanes HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
NamespaceIdstringNo

The ID of a namespace.

cn-beijing:test
GroupIdlongNo

The ID of the lane group.

2074

Response parameters

ParameterTypeDescriptionExample
object

The returned information.

RequestIdstring

The request ID.

B4D805CA-926D-41B1-8E63-7AD0C1ED****
Messagestring

Additional information. Valid values:

  • The error message returned because the request is normal and success is returned.
  • If the request is abnormal, the specific exception error code is returned.
success
TraceIdstring

The ID of the trace. This parameter is used to query the exact call information.

0a98a02315955564772843261e****
Dataarray<object>

The output parameters of the node.

dataobject

The details of the configuration.

LaneIdlong

The ID of the lane.

16401
LaneNamestring

The name of the lane group.

test
LaneTagstring

The tag of the lane.

{"alicloud.service.tag":"g1"}
CanaryModelinteger

Full-link Grayscale Mode:

  • 0: The request is routed based on the content of the request.
  • 1: Proportional routing
0
Enableboolean

Lane status:

  • true: enabled
  • false: disabled
true
EnableRulesboolean

Whether the traffic rule is enabled.

true
Appsarray<object>

The associated application.

appobject

The details of the application.

AppIdstring

The ID of the application.

8ea0c468-8165-416d-beae-531abb******
AppNamestring

The name of the application.

test
MseAppIdstring

The ID of the MSE instance.

mse-cn-53y49******
MseAppNamestring

The name of the MSE instance.

sae-test
MseNamespaceIdstring

The ID of the namespace to which the MSE instance belongs.

space
AppEntryRuleobject

Apply ingress rules.

Pathsarray

The request path.

pathstring

The request paths.

/
Percentageinteger

The traffic ratio. Valid values: 0 to 100.

50
ConditionJoinerstring

Logical connectors between conditions:

  • AND: All conditions are met at the same time.
  • OR: Any condition is met.
AND
Conditionsarray<object>

The matching condition.

conditionobject

Item

Typestring

The type of the parameter.

Header
Namestring

The parameter name.

t
Conditionstring

The matching rule.

==
Valuestring

The match value.

g1
Valuesarray

The match value of the condition.

valuestring

The match value of the condition.

g1
IndependentPercentageEnableboolean

Whether to enable proportional grayscale.

true
PercentageByPathobject

Traffic matching.

integer

The traffic ratio.

100
MseGatewayEntryRuleobject

MSE gateway routing

RouteIdsarray

The IDs of the route tables.

routeIdlong

The route ID.

["1001","1002"]
Routesarray<object>

The detailed configuration of the routing rule.

routeobject

The route configurations.

RouteIdlong

The route ID.

9504
RouteNamestring

The name of the route.

demo
RoutePredicateobject

The routing rule.

PathPredicateobject

The path matching rule.

pathstring

The path.

/Path
typestring

The matching rule.

Header
Percentageinteger

The proportion of path traffic.

100
ConditionJoinerstring

The logical connector between conditions.

AND
Conditionsarray<object>

The matching condition.

conditionobject

The condition item.

Typestring

The type of the parameter.

Header
Namestring

The parameter name.

t
Conditionstring

The matching rule.

==
Valuestring

The match value of the condition.

g1
IndependentPercentageEnableboolean

Whether to enable proportional grayscale.

true
PercentageByRouteobject

The traffic configuration.

integer

Configure the traffic ratio. The range is 1 to 100.

100
ErrorCodestring

Error code. Valid values:

  • If the request is successful, no ErrorCode fields are returned.
  • Request failed: ErrorCode fields are returned. For more information, see Error codes.
Codestring

The interface status or POP error code. Valid values:

  • 2xx: The request was successful.
  • 3xx: Redirection.
  • 4xx: Request error.
  • 5xx: Server error.
200
Successboolean

Whether the data is successful. Valid values:

  • true: The application instances were restarted.
  • false: Restart failed.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "B4D805CA-926D-41B1-8E63-7AD0C1ED****",
  "Message": "success",
  "TraceId": "0a98a02315955564772843261e****",
  "Data": [
    {
      "LaneId": 16401,
      "LaneName": "test",
      "LaneTag": {
        "alicloud.service.tag": "g1"
      },
      "CanaryModel": 0,
      "Enable": true,
      "EnableRules": true,
      "Apps": [
        {
          "AppId": "8ea0c468-8165-416d-beae-531abb******",
          "AppName": "test",
          "MseAppId": "mse-cn-53y49******",
          "MseAppName": "sae-test",
          "MseNamespaceId": "space"
        }
      ],
      "AppEntryRule": {
        "Paths": [
          "/"
        ],
        "Percentage": 50,
        "ConditionJoiner": "AND",
        "Conditions": [
          {
            "Type": "Header",
            "Name": "t",
            "Condition": "==",
            "Value": "g1",
            "Values": [
              "g1"
            ]
          }
        ],
        "IndependentPercentageEnable": true,
        "PercentageByPath": {
          "key": 100
        }
      },
      "MseGatewayEntryRule": {
        "RouteIds": [
          0
        ],
        "Routes": [
          {
            "RouteId": 9504,
            "RouteName": "demo\n",
            "RoutePredicate": {
              "PathPredicate": {
                "path": "/Path\n",
                "type": "Header\n"
              }
            }
          }
        ],
        "Percentage": 100,
        "ConditionJoiner": "AND",
        "Conditions": [
          {
            "Type": "Header\n",
            "Name": "t\n",
            "Condition": "==\n",
            "Value": "g1\n"
          }
        ],
        "IndependentPercentageEnable": true,
        "PercentageByRoute": {
          "key": 100
        }
      }
    }
  ],
  "ErrorCode": "",
  "Code": 200,
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameter.NotEmptyYou must specify the parameter %s.-
400InvalidParameter.ObviouslyThe specified parameter is invalid {%s}.-
400InvalidParameter.WithMessageThe parameter is invalid {%s}: %s-
400MseGatewayRule.CreateFailedCreate MSE Gateway rule failed.Failed to create an MSE microservices gateway route.
400InternalApiErrorAn exception occurred when calling mse:%s, error message: %s.-

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