查询泳道可选的网关路由
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
GET /pop/v1/cas/gray/listSwimmingLaneGatewayRoutes HTTP/1.1
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| NamespaceId | string | 否 | 命名空间 ID。 | cn-beijing:test |
| GatewayUniqueId | string | 否 | 网关唯一标识 ID。 | gw-277c0727535f4aae917e48de0f****** |
返回参数
示例
正常返回示例
JSON格式
{
"RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"Message": "success",
"TraceId": "ac1a0b2215622246421415014e****",
"Data": [
{
"RouteId": 16933,
"RouteName": "test-route",
"RoutePredicate": {
"PathPredicate": {
"Path": "/Path",
"Type": "Header\n"
}
}
}
],
"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 |
访问错误中心查看更多错误码。
