查詢所有泳道組。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
sae:ListAllSwimmingLaneGroups |
list |
*全部資源
|
無 | 無 |
請求文法
GET /pop/v1/cas/gray/listSwimmingLaneGroups HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| NamespaceId |
string |
否 |
命名空間 ID。 |
cn-beijing:test |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回資訊。 |
||
| RequestId |
string |
請求 ID。 |
30375C38-F4ED-4135-A0AE-5C75DC7F**** |
| Message |
string |
附加資訊。取值說明如下:
|
success |
| TraceId |
string |
調用鏈 ID,用於精確查詢調用資訊。 |
ac1a0b2215622246421415014e**** |
| Data |
array<object> |
返回結果。 |
|
|
array<object> |
泳道組纖細資訊。 |
||
| GroupId |
integer |
泳道組 ID。 |
110283 |
| GroupName |
string |
泳道組名稱。 |
mse-test |
| NamespaceId |
string |
命名空間 ID。 |
cn-beijing:test |
| MseNamespaceId |
string |
MSE 執行個體所在的命名空間 ID。 |
sae-ent |
| CanaryModel |
integer |
全鏈路灰階模式:
|
0 |
| AppIds |
array |
泳道組相關 App ID 列表。 |
|
|
string |
應用 ID 列表。 |
[ "1409e354-8b4c-4c53-ab35-f2765e******", "ef41218e-f96c-4d92-a5ed-1f6e83******", "52cc2015-265b-4cd6-8bb8-21ea4f******" ] |
|
| Apps |
array<object> |
應用資訊。 |
|
|
object |
應用詳細資料。 |
||
| AppId |
string |
應用 ID。 |
f5aad0d0-3e56-44cd-8199-9887a0****** |
| AppName |
string |
應用程式名稱。 |
test |
| MseAppId |
string |
MSE 執行個體 ID。 |
mse-cn-53y49****** |
| MseAppName |
string |
MSE 執行個體名稱。 |
demo |
| MseNamespaceId |
string |
MSE 執行個體所在命名空間的 ID。 |
sae-ent |
| EntryAppType |
string |
應用入口類型(網關類型)。
|
mse-gw |
| EntryAppId |
string |
對應網關執行個體 ID。 |
bq4g5bumop@e05bd4328****** |
| EntryApp |
object |
入口應用。 |
|
| AppId |
string |
應用 ID。 |
09805e5d-9b8d-42cd-9442-03c498****** |
| AppName |
string |
應用程式名稱。 |
test |
| AppType |
string |
應用類型。 |
mse |
| MseAppId |
string |
MSE 執行個體 ID。 |
mse-cn-53y49****** |
| MseAppName |
string |
MSE 執行個體名稱 |
test |
| MseNamespaceId |
string |
MSE 執行個體所在的命名空間 ID。 |
sae-ent |
| SwimVersion |
string |
全鏈路灰階版本,取值範圍:0,2(推薦使用)。 |
2 |
| ErrorCode |
string |
錯誤碼。取值說明如下:
|
|
| Code |
string |
介面狀態或 POP 錯誤碼。取值說明如下:
|
200 |
| Success |
boolean |
是否成功。取值說明如下:
|
true |
樣本
正常返回樣本
JSON格式
{
"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
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | 不合法的參數:%s不可為空。 |
| 400 | InvalidParameter.Obviously | The specified parameter is invalid {%s}. | 不合法的參數{%s}。 |
| 400 | InvalidParameter.WithMessage | The parameter is invalid {%s}: %s | 不合法的參數{%s}:%s。 |
| 400 | MseGatewayRule.CreateFailed | Create MSE Gateway rule failed. | 建立MSE微服務網關路由失敗。 |
| 400 | InternalApiError | An exception occurred when calling mse:%s, error message: %s. | 調用 mse:%s 介面異常,%s |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。