文档
测试

获取资料中心列表

GET
/operation/1.1/document/list

请求头

参数名
类型
描述
必填
token
字符串
用户登录后返回的token
必填

示例

请求参数: ``` limit=10 offset=0 projectId=1(公司资料不需要传) categoryId=(分类id) 筛选条件 名称对应字段--fileName ``` 响应体: ``` { "limit": 10, "total": 1, "data": [ { "fileName": "测试资料", "isDelete": null, "userName": "123", "createTime": "2020-09-11 21:24:14", "fileSize": 100, "filePath": [], "fileDir": null, "tenantId": null, "createUser": null, "id": null, "projectId": null, "categoryId": null, "fileSystemName": null, "fileType": null } ], "offset": 0 } ```

响应参数说明

参数名
类型
描述
必填
limit
int
示例:10
必填
total
int
示例:1
必填
data
array
数据列表
必填
fileName
string
文件名称
必填
isDelete
object
示例:null
必填
userName
string
上传人
必填
createTime
string
上传时间
必填
fileSize
int
文件大小
必填
fileDir
object
系统对应的path加密地址
必填
tenantId
object
示例:null
必填
createUser
object
示例:null
必填
id
object
示例:null
必填
projectId
object
项目id
必填
categoryId
object
分类id
必填
fileSystemName
object
示例:null
必填
fileType
object
文件类型
必填
offset
int
示例:0
必填