当前位置: 首页 > 文档资料 > YApi 中文文档 >

获取接口列表数据

优质
小牛编辑
130浏览
2023-12-01

基本信息

Path: /api/interface/list

Method: GET

接口描述:

请求参数

Headers

参数名称参数值是否必须示例备注
Content-Typeapplication/json

Query

参数名称是否必须示例备注
project_id
token
page1当前页数
limit10每页数量,默认为10,如果不想要分页数据,可将 limit 设置为比较大的数字,比如 1000

返回数据

{
  "errcode": 0,
  "errmsg": "成功!",
  "data": [
    {
      "_id": 4444,
      "project_id": 299,
      "catid": 1376,
      "title": "/api/group/del",
      "path": "/api/group/del",
      "method": "POST",
      "uid": 11,
      "add_time": 1511431246,
      "up_time": 1511751531,
      "status": "undone",
      "edit_uid": 0
    },
    {
      "_id": 4436,
      "project_id": 299,
      "catid": 1376,
      "title": "/api/group/up",
      "path": "/api/group/up",
      "method": "POST",
      "uid": 11,
      "add_time": 1511431246,
      "up_time": 1511751572,
      "status": "undone",
      "edit_uid": 0
    },
    {
      "_id": 4428,
      "project_id": 299,
      "catid": 1376,
      "title": "/api/group/get_member_list",
      "path": "/api/group/get_member_list",
      "method": "GET",
      "uid": 11,
      "add_time": 1511431245,
      "up_time": 1511431245,
      "status": "undone",
      "edit_uid": 0
    },
    {
      "_id": 4420,
      "project_id": 299,
      "catid": 1376,
      "title": "/api/log/list",
      "path": "/api/log/list",
      "method": "GET",
      "uid": 11,
      "add_time": 1511431245,
      "up_time": 1511431245,
      "status": "undone",
      "edit_uid": 0
    },
    {
      "_id": 4412,
      "project_id": 299,
      "catid": 1376,
      "title": "/api/group/get",
      "path": "/api/group/get",
      "method": "GET",
      "uid": 11,
      "add_time": 1511431245,
      "up_time": 1511431245,
      "status": "undone",
      "edit_uid": 0
    },
    {
      "_id": 4404,
      "project_id": 299,
      "catid": 1376,
      "title": "/api/project/list",
      "path": "/api/project/list",
      "method": "GET",
      "uid": 11,
      "add_time": 1511431245,
      "up_time": 1511431245,
      "status": "undone",
      "edit_uid": 0
    },
    {
      "_id": 4396,
      "project_id": 299,
      "catid": 1376,
      "title": "/api/group/list",
      "path": "/api/group/list",
      "method": "GET",
      "uid": 11,
      "add_time": 1511431245,
      "up_time": 1511431245,
      "status": "undone",
      "edit_uid": 0
    },
    {
      "_id": 4388,
      "project_id": 299,
      "catid": 1376,
      "title": "/api/group/add",
      "path": "/api/group/add",
      "method": "POST",
      "uid": 11,
      "add_time": 1511431245,
      "up_time": 1511493611,
      "status": "undone",
      "edit_uid": 0
    }
  ]
}