查看API列表
GET
/api/v1/system-manage/apis请求参数
Query 参数
current
integer
页码
示例值:
1
size
integer
每页数量
示例值:
10
path
string
API路径
summary
string
API简介
tags
string
API模块
status
string
API状态
示例代码
返回响应
成功(200)
Validation Error(422)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
msg
string
必需
data
object
必需
records
array [object {6}]
必需
total
integer
必需
current
integer
必需
size
integer
必需
示例
{
"code": "0000",
"msg": "OK",
"data": {
"records": [
{
"tags": "v1|路由管理",
"summary": "查看常量路由(公共路由)",
"status": "1",
"method": "get",
"id": 5,
"path": "/api/v1/route/constant-routes"
},
{
"tags": "v1|路由管理",
"summary": "查看用户路由菜单",
"status": "1",
"method": "get",
"id": 6,
"path": "/api/v1/route/user-routes"
},
{
"tags": "v1|路由管理",
"summary": "路由是否存在",
"status": "1",
"method": "get",
"id": 7,
"path": "/api/v1/route/{route_name}/exists"
},
{
"tags": "v1|权限认证",
"summary": "登录",
"status": "1",
"method": "post",
"id": 1,
"path": "/api/v1/auth/login"
},
{
"tags": "v1|权限认证",
"summary": "刷新认证",
"status": "1",
"method": "post",
"id": 2,
"path": "/api/v1/auth/refreshToken"
},
{
"tags": "v1|权限认证",
"summary": "查看用户信息",
"status": "1",
"method": "get",
"id": 3,
"path": "/api/v1/auth/getUserInfo"
},
{
"tags": "v1|权限认证",
"summary": "自定义后端错误",
"status": "1",
"method": "get",
"id": 4,
"path": "/api/v1/auth/error"
},
{
"tags": "v1|系统管理|API管理",
"summary": "查看API列表",
"status": "1",
"method": "get",
"id": 13,
"path": "/api/v1/system-manage/apis"
},
{
"tags": "v1|系统管理|API管理",
"summary": "查看API",
"status": "1",
"method": "get",
"id": 14,
"path": "/api/v1/system-manage/apis/{api_id}"
},
{
"tags": "v1|系统管理|API管理",
"summary": "查看API树",
"status": "1",
"method": "get",
"id": 15,
"path": "/api/v1/system-manage/apis/tree/"
}
],
"total": 47,
"current": 1,
"size": 10
}
}
最后修改时间: 6 个月前