获取文件夹下所有的文件
POST
https://www.yixingyun.com/api/open/cloudFile/getFolderAndFileList
请求参数
Body 参数application/json
folderId
string
文件id
appKey
string
appKey
sign
string
签名
appId
string
应用Id
userId
string
用户Id
示例
{
"appId": "",
"appKey": "",
"folderId": "",
"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/getFolderAndFileList' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "",
"appKey": "",
"folderId": "",
"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:47