获取开启鉴权的路由列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
GatewayUniqueId | string | 是 | 网关唯一标识ID。 | gw-c9bc5afd61014165bd58f621b491**** |
Type | string | 是 | 鉴权类型:
| JWT |
AcceptLanguage | string | 否 | 返回信息的语言类型:
| zh |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "58E06A0A-BD2C-47A0-99C2-B100F353****",
"HttpStatusCode": 200,
"Message": "请求处理成功",
"Code": 200,
"Success": true,
"Data": [
{
"Id": 12,
"Name": "ceshi",
"GatewayUniqueId": "gw-7ea3da97b96543e19f6c597c****",
"GatewayId": "399",
"RoutePredicates": {
"PathPredicates": {
"Path": "/api",
"Type": "PRE"
}
},
"DomainId": 235,
"DomainName": "123.com",
"DomainIdList": [
1
],
"DomainNameList": [
"test.com"
]
}
]
}
错误码
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 |
访问错误中心查看更多错误码。