查询项目下所有或指定类型文件列表
已测完
POST
/zt/api/v1/statistics/project/{projectId}/fileList
2023-10-13
请求参数
Path 参数
projectId
string
必需
Body 参数application/json
fileType
string | null
文件类型
示例
{
"fileType": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/zt/api/v1/statistics/project//fileList' \
--header 'Content-Type: application/json' \
--data-raw '{
"fileType": "string"
}'
返回响应
🟢200成功
application/json
Body
模型数量
data
array [object {11}] | null
可选
projectId
string
项目ID
parentId
string
父节点
name
string
文件名
fileType
string | null
文件类型
objectId
string | null
文件存储ID
documentId
string | null
文件ID
documentVersion
integer | null
文件版本
storagePath
string | null
存储路径
fileSize
integer | null
文件大小
property
string | null
文件属性
tag
string | null
文件标签
code
integer | null
可选
msg
string | null
可选
示例
{
"data": [
{
"projectId": "",
"parentId": "",
"name": "",
"fileType": "",
"objectId": "",
"documentId": "",
"documentVersion": 0,
"storagePath": "",
"fileSize": 0,
"property": "",
"tag": ""
}
],
"code": 0,
"msg": ""
}
修改于 2024-05-22 02:13:38