获取文件列表

1、获取文件列表

简要描述:

  • 获取文件列表接口

请求URL:

  • http://192.168.2.32:8080/ops/itsm/document/getDocumentList

请求方式:

  • POST

参数:

参数名 必选 类型 说明
keyWord string 查询关键字
isFullSearch boolean 是否全局搜索
userId string 用户ID
folderId string 文件夹ID

参数示例

 {
  "keyWord": "",
  "isFullSearch": false,
  "userId": "d22ae15a56394869924059a9d5867a29",
  "folderId": "be84fdfa-349c-432d-9065-77d2f9974f2c"
}

返回示例

 {
  "errorCode": 0,
  "message": "成功",
  "time": 1638498993265,
  "responseBody": {
    "subFolderList": [],
    "documentList": [
      {
        "relyPath": "/ops/static/6408fb91dd134a4aaf01deb957d441a4HttpUtil.java",
        "folderAuthority": {
          "batchDownload": false,
          "preview": false,
          "deleteFile": false,
          "download": false,
          "deleteFolder": false,
          "edit": false,
          "upload": true,
          "replace": false,
          "create": false,
          "editAuthority": true,
          "history": false,
          "look": true
        },
        "size": "5103",
        "createTime": "2021-12-03 10:36:32",
        "filePath": "/usr/local/uniops2021/tomcat9/attachment/6408fb91dd134a4aaf01deb957d441a4HttpUtil.java",
        "name": "HttpUtil.java",
        "creatorName": "冯嘉进",
        "updateTime": "2021-12-03 10:36:32",
        "fullPathName": "/00.3.2制度指引/3.2.3安全基线/数据库/测试1",
        "uuid": "6408fb91dd134a4aaf01deb957d441a4",
        "folderId": "b8062a29547c403fb544af9b74199ed4",
        "fileType": "java"
      }
    ]
  }
}