获取接口列表
GET
/sys_api
请求参数
Query 参数
page
string
可选
示例值:
1
page_size
string
可选
示例值:
10
title
string
可选
示例值:
path
string
可选
示例值:
type
string
可选
示例值:
Header 参数
X-token
string
可选
默认值:
{{X-Token}}
Body 参数application/json
object {0}
示例
{}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/sys_api?page= 1&page_size= 10&title= &path= &type= ' \
--header 'X-token: {{X-Token}}' \
--header 'Content-Type: application/json' \
--data-raw '{}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
sys_api_list
array [object {8}]
必需
total
integer
必需
示例
{
"code": 0,
"message": "success",
"data": {
"sys_api_list": [
{
"id": 32,
"title": "删除操作日志",
"path": "/sys_log/delete_operation_log",
"type": "DELETE",
"created_at": "2021-08-09 13:37:15",
"updated_at": null,
"create_by": 1,
"update_by": null
},
{
"id": 31,
"title": "查询操作日志列表",
"path": "/sys_log/get_operation_log",
"type": "GET",
"created_at": "2021-08-09 13:36:57",
"updated_at": null,
"create_by": 1,
"update_by": null
},
{
"id": 30,
"title": "删除登录日志",
"path": "/sys_log/delete_login_log",
"type": "DELETE",
"created_at": "2021-08-09 13:36:38",
"updated_at": null,
"create_by": 1,
"update_by": null
},
{
"id": 29,
"title": "查询登录日志列表",
"path": "/sys_log/get_login_log",
"type": "GET",
"created_at": "2021-08-09 13:36:09",
"updated_at": null,
"create_by": 1,
"update_by": null
},
{
"id": 28,
"title": "删除字典数据",
"path": "/dict_data",
"type": "DELETE",
"created_at": "2021-08-09 13:35:42",
"updated_at": null,
"create_by": 1,
"update_by": null
},
{
"id": 27,
"title": "修改字典数据",
"path": "/dict_data",
"type": "PUT",
"created_at": "2021-08-09 13:35:30",
"updated_at": null,
"create_by": 1,
"update_by": null
},
{
"id": 26,
"title": "添加字典数据",
"path": "/dict_data",
"type": "POST",
"created_at": "2021-08-09 13:35:11",
"updated_at": null,
"create_by": 1,
"update_by": null
},
{
"id": 25,
"title": "获取字典数据列表",
"path": "/dict_data/get_list",
"type": "GET",
"created_at": "2021-08-09 13:34:16",
"updated_at": null,
"create_by": 1,
"update_by": null
},
{
"id": 24,
"title": "删除字典类型",
"path": "/dict_type",
"type": "DELETE",
"created_at": "2021-08-09 13:33:56",
"updated_at": null,
"create_by": 1,
"update_by": null
},
{
"id": 23,
"title": "修改字典类型",
"path": "/dict_type",
"type": "PUT",
"created_at": "2021-08-09 13:33:44",
"updated_at": null,
"create_by": 1,
"update_by": null
}
],
"total": 32
}
}
修改于 2024-01-16 14:03:14