文件挂载到文件夹
已测完
POST
/zt/api/v1/data/file/folder/mount
2023-10-09
请求参数
Body 参数application/json
folderId
string
文件夹ID
objectId
string
上传得到的ID
tag
string | null
标签
property
string | null
扩展属性
示例
{
"folderId": "string",
"objectId": "string",
"tag": "string",
"property": "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/folder/mount' \
--header 'Content-Type: application/json' \
--data-raw '{
"folderId": "string",
"objectId": "string",
"tag": "string",
"property": "string"
}'
返回响应
🟢200成功
application/json
Body
data
object
可选
id
string | null
文件ID
latestVersionNum
integer | null
最新版本号
code
integer | null
可选
msg
string | null
可选
示例
{
"data": {
"id": "",
"latestVersionNum": 0
},
"code": 0,
"msg": ""
}
修改于 2024-05-21 09:36:57