模型文件详情
已测完
POST
/zt/api/v1/data/file/detail
2023-10-09
请求参数
Body 参数application/json
documentId
string
文件ID
documentVersion
integer | null
文件版本
示例
{
"documentId": "string",
"documentVersion": 0
}
示例代码
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/detail' \
--header 'Content-Type: application/json' \
--data-raw '{
"documentId": "string",
"documentVersion": 0
}'
返回响应
🟢200成功
application/json
Body
data
object
可选
documentId
string
文件ID
documentVersion
integer | null
文件版本
projectId
string
项目ID
name
string | null
文件名称
fileType
string | null
文件类型
objectId
string | null
文件存储ID
convertStatus
string | 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": "",
"convertStatus": "",
"storagePath": "",
"fileSize": 0,
"customAttributes": ""
},
"code": 0,
"msg": ""
}
修改于 2024-05-21 07:47:10