文件版本列表
已测完
POST
/zt/api/v1/data/file/version/list
2023-10-09
请求参数
Body 参数application/json
documentId
string
文件ID
示例
{
"documentId": "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/data/file/version/list' \
--header 'Content-Type: application/json' \
--data-raw '{
"documentId": "string"
}'
返回响应
🟢200成功
application/json
Body
data
array [object {11}] | null
可选
id
string
文件ID
projectId
string
项目ID
name
string
文件名
fileType
string | null
文件类型
objectId
string | null
文件存储ID
documentId
string | null
模型ID
fileVersion
integer | null
模型版本
storagePath
string | null
存储路径
fileSize
integer | null
文件大小
customAttributes
string | null
自定义属性
createTime
string | null
创建时间
code
integer | null
可选
msg
string | null
可选
示例
{
"data": [
{
"id": "",
"projectId": "",
"name": "",
"fileType": "",
"objectId": "",
"documentId": "",
"fileVersion": 0,
"storagePath": "",
"fileSize": 0,
"customAttributes": ""
}
],
"code": 0,
"msg": ""
}
修改于 2024-05-21 07:45:00