首页 微服务引擎 MSE API参考指南 API目录 云原生网关 安全能力 ListGatewayAuthConsumerResource - 获取网关鉴权消费者的授权列表

ListGatewayAuthConsumerResource - 获取网关鉴权消费者的授权列表

获取网关鉴权消费者的授权列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
GatewayUniqueIdstring

网关唯一标识ID。

gw-3f97e2989c344f35ab3fd62b19f1****
ConsumerIdlong

网关鉴权消费者ID。

2
RouteNamestring

路由名称。

test
ResourceStatusboolean

资源状态:

  • true:启用

  • false:停用

true
PageNumstring

页码。

1
PageSizestring

当前页的大小。

10
AcceptLanguagestring

返回信息的语言类型:

  • zh:中文
  • en:英文
zh

返回参数

名称类型描述示例值
object

RestResult<List>

RequestIdstring

请求ID。

A73AC37C-C617-4E3A-8049-372CF49C****
Successboolean

请求结果,取值如下:

  • true:请求成功。
  • false:请求失败。
True
Codeinteger

code仅仅用来和success同步。

200
ErrorCodestring

错误码。

mse-100-000
HttpStatusCodeinteger

HTTP状态码。

200
Messagestring

返回信息。

请求处理成功
DynamicCodestring

动态错误信息中的占位符。

code
DynamicMessagestring

动态错误信息,用于替换返回参数ErrMessage错误信息中的**%s**。

说明如果ErrMessage返回The Value of Input Parameter %s is not valid,且DynamicMessage返回DtsJobId,则代表所传入的请求参数DtsJobId不合法。
The specified parameter is invalid.
Dataobject

返回结果。

TotalSizelong

总条数。

11
PageNumberinteger

页码。

1
PageSizeinteger

分页大小。

10
Resultarray

数据结构。

object

数据结构。

Idlong

鉴权消费者授权ID。

1
ConsumerIdlong

网关鉴权消费者ID。

2
RouteIdlong

路由ID。

3091
RouteNamestring

路由名称。

test
ResourceStatusboolean

资源授权状态:

  • true:启用

  • false:停用

true
GatewayUniqueIdstring

网关唯一标识。

gw-5017305290e14centbrveca****
GmtCreatestring

创建时间。

2022-01-07 18:07:57
GmtModifiedstring

修改时间。

2022-01-07 18:07:57

示例

正常返回示例

JSON格式

{
  "RequestId": "A73AC37C-C617-4E3A-8049-372CF49C****",
  "Success": true,
  "Code": 200,
  "ErrorCode": "mse-100-000",
  "HttpStatusCode": 200,
  "Message": "请求处理成功",
  "DynamicCode": "code",
  "DynamicMessage": "The specified parameter is invalid.",
  "Data": {
    "TotalSize": 11,
    "PageNumber": 1,
    "PageSize": 10,
    "Result": [
      {
        "Id": 1,
        "ConsumerId": 2,
        "RouteId": 3091,
        "RouteName": "test",
        "ResourceStatus": true,
        "GatewayUniqueId": "gw-5017305290e14centbrveca****",
        "GmtCreate": "2022-01-07 18:07:57",
        "GmtModified": "2022-01-07 18:07:57"
      }
    ]
  }
}

错误码

HTTP status code错误码错误信息描述
400IllegalRequestInvalid request:%s非法请求: %s
400InvalidParameterParameter error:%s请求参数错误:%s
403NoPermissionYou are not authorized to perform this operation:%s没有权限使用此接口:%s
404NotFoundNot found:%s资源不存在:%s
500InternalErrorConsole error. Try again later:%s控制台错误.稍后重试:%s

访问错误中心查看更多错误码。

阿里云首页 微服务引擎 相关技术圈