保存权限
POST
https://www.yixingyun.com/api/open/cloudFile/save
请求参数
Body 参数application/json
cloudAuthDTOS
array [object {6}]
必需
authType
integer
可选
docIds
array[string]
文件ids
docType
integer
1文件,2文件夹
iamIds
array[string]
可选
iamType
integer
可选
roles
array[string]
权限
appKey
string
appKey
sign
string
签名
appId
string
应用Id
userId
string
用户Id
示例
{
"appId": "",
"appKey": "",
"cloudAuthDTOS": [
{
"authType": 0,
"docIds": [],
"docType": 0,
"iamIds": [],
"iamType": 0,
"roles": []
}
],
"sign": "",
"userId": ""
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.yixingyun.com/api/open/cloudFile/save' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "",
"appKey": "",
"cloudAuthDTOS": [
{
"authType": 0,
"docIds": [],
"docType": 0,
"iamIds": [],
"iamType": 0,
"roles": []
}
],
"sign": "",
"userId": ""
}'
返回响应
🟢200成功
application/json
Body
code
integer
返回码
msg
string
返回码描述
subCode
integer
明细返回码
subMsg
string
明细放回码描述
sign
string
签名
data
object
返回数据
示例
{
"code": 0,
"msg": "string",
"subCode": 0,
"subMsg": "string",
"sign": "string",
"data": {}
}
修改于 2025-06-18 07:02:49