All Products
Search
Document Center

Serverless App Engine:ListAllSwimmingLaneGroups

Last Updated:Jun 11, 2026

Mengembalikan daftar semua kelompok swimlane.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

sae:ListAllSwimmingLaneGroups

list

*全部资源

*

None None

Sintaks permintaan

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

Parameter permintaan

Parameter

Type

Required

Description

Example

NamespaceId

string

No

ID namespace.

cn-beijing:test

Elemen respons

Element

Type

Description

Example

object

The response data.

RequestId

string

The request ID.

30375C38-F4ED-4135-A0AE-5C75DC7F****

Message

string

The response message.

  • success is returned if the request is successful.

  • An error message is returned if the request fails.

success

TraceId

string

The trace ID that is used to query the details of a request.

ac1a0b2215622246421415014e****

Data

array<object>

The returned data.

array<object>

The information about the swimming lane groups.

GroupId

integer

The ID of the swimming lane group.

110283

GroupName

string

The name of the swimming lane group.

mse-test

NamespaceId

string

The namespace ID.

cn-beijing:test

MseNamespaceId

string

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

sae-ent

CanaryModel

integer

The canary release mode.

  • 0: content-based routing

  • 1: percentage-based routing

0

AppIds

array

The IDs of the applications that are associated with the swimming lane group.

string

An application ID.

[ "1409e354-8b4c-4c53-ab35-f2765e******", "ef41218e-f96c-4d92-a5ed-1f6e83******", "52cc2015-265b-4cd6-8bb8-21ea4f******" ]

Apps

array<object>

The information about the applications.

object

The details of an application.

AppId

string

The ID of the application.

f5aad0d0-3e56-44cd-8199-9887a0******

AppName

string

The name of the application.

test

MseAppId

string

The ID of the MSE instance.

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

MseAppName

string

The name of the MSE instance.

demo

MseNamespaceId

string

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

sae-ent

EntryAppType

string

The type of the ingress application. This parameter is equivalent to the gateway type.

  • apig: API Gateway

  • mse-gw: cloud-native gateway

  • mse: Java service gateway

mse-gw

EntryAppId

string

The ID of the gateway.

bq4g5bumop@e05bd4328******

EntryApp

object

The ingress application.

AppId

string

The ID of the application.

09805e5d-9b8d-42cd-9442-03c498******

AppName

string

The name of the application.

test

AppType

string

The type of the application.

mse

MseAppId

string

The ID of the MSE instance.

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

MseAppName

string

MSE Instance Name

test

MseNamespaceId

string

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

sae-ent

SwimVersion

string

The version of the canary release. Valid values: 0 and 2. We recommend that you use 2.

2

ErrorCode

string

The error code.

  • This parameter is not returned if the request is successful.

  • For a list of error codes, see the "Error codes" section in this topic.

Code

string

The HTTP status code. Valid values:

  • 2xx: The request was successful.

  • 3xx: The request was redirected.

  • 4xx: The request was invalid.

  • 5xx: A server error occurred.

200

Success

boolean

Indicates whether the request was successful. Valid values:

  • true

  • false

true

Contoh

Respons sukses

JSONformat

{
  "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
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter.NotEmpty You must specify the parameter %s.
400 InvalidParameter.Obviously The specified parameter is invalid {%s}.
400 InvalidParameter.WithMessage The parameter is invalid {%s}: %s
400 MseGatewayRule.CreateFailed Create MSE Gateway rule failed.
400 InternalApiError An exception occurred when calling mse:%s, error message: %s.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.