获取网关鉴权消费者列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
GatewayUniqueId | string | 是 | 网关唯一标识ID。 | gw-0fe488252dc44d55a9dd57875193**** |
Name | string | 否 | 鉴权消费者名称。 | test |
Type | string | 否 | 鉴权类型:
| JWT |
ConsumerStatus | boolean | 否 | 鉴权消费者状态:
| true |
PageNum | string | 是 | 当前页数值。 | 1 |
PageSize | string | 是 | 当前页的大小。 | 10 |
AcceptLanguage | string | 否 | 返回信息的语言类型:
| zh |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "dc63-465d-8ef5-20dc18af****",
"Success": true,
"Code": 200,
"ErrorCode": "mse-100-000",
"HttpStatusCode": 200,
"Message": "请求处理成功",
"DynamicCode": "code",
"DynamicMessage": "The specified parameter is invalid.",
"Data": {
"TotalSize": 9,
"PageNumber": 1,
"PageSize": 10,
"Result": [
{
"Id": 1,
"Name": "test",
"ConsumerStatus": true,
"PrimaryUser": "123",
"GatewayUniqueId": "gw-5017305290e14centbrveca****",
"Type": "JWT",
"Description": "描述",
"GmtCreate": "2021-09-13 19:24:23",
"GmtModified": "2022-01-07 18:07:57"
}
]
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | IllegalRequest | Invalid request:%s | 非法请求: %s |
400 | InvalidParameter | Parameter error:%s | 请求参数错误:%s |
403 | NoPermission | You are not authorized to perform this operation:%s | 没有权限使用此接口:%s |
404 | NotFound | Not found:%s | 资源不存在:%s |
500 | InternalError | Console error. Try again later:%s | 控制台错误.稍后重试:%s |
访问错误中心查看更多错误码。