获取文件列表
POST
/api/file/list
请求参数
Header 参数
sk
string
必需
Body 参数application/x-www-form-urlencoded
pageNum
string
页码
示例值:
1
pageSize
string
页大小
示例值:
10
fileName
string
文件名称
fileParentFolder
string
文件夹id
示例代码
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://pan.imgbed.link/api/file/list' \
--header 'sk;'
返回响应
🟢200成功
application/json
Body
total
integer
总数
rows
array [object {6}]
文件列表
fileId
string
文件id
fileName
string
文件名
fileParentFolder
string
文件夹id
fileCreationDate
string
创建时间
fileCreator
string
创建人
url
null
url
code
integer
必需
msg
string
必需
currentPage
integer
必需
currentSize
integer
必需
totalPage
null
必需
data
null
必需
示例
{
"total": 16,
"rows": [
{
"fileId": "0be342d7-abf35-442c-95e2-10ac47fcc2a7",
"fileName": "inspiration.svg",
"fileParentFolder": "418631e4-5b9d-4247-9909-ef24f609b1b6",
"fileCreationDate": "2023年07月25日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17778"
},
{
"fileId": "2cf1f4288-4fa3-4612-a92d-80a2ee63cccd",
"fileName": "20230609170654A001.png",
"fileParentFolder": "418631e4-5b9d-4247-9909-ef24f609b1b6",
"fileCreationDate": "2023年07月25日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17781"
},
{
"fileId": "44696e95-244ab-42b8-a868-0424b2ae793c",
"fileName": "微信截图_20230402230645.png",
"fileParentFolder": "418631e4-5b9d-4247-9909-ef24f609b1b6",
"fileCreationDate": "2023年07月22日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17754"
},
{
"fileId": "4821223a-3b99-44732-9ba3-8b67fb349c69",
"fileName": "关于黑马优购登录接口使用问题.txt",
"fileParentFolder": "418631e4-5b9d-4247-9909-ef24f609b1b6",
"fileCreationDate": "2023年07月23日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17764"
},
{
"fileId": "4f145e5e-eee2-444c2-a2a8-06c0bb25c225",
"fileName": "运行平台功能点清单.xlsx",
"fileParentFolder": "418631e4-5b9d-4247-9909-ef24f609b1b6",
"fileCreationDate": "2023年07月25日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17777"
},
{
"fileId": "5af18df0-1812-443f1-b956-1efc78fab9d6",
"fileName": "1690374101329.avi",
"fileParentFolder": "6ce207c4-ce82-426d-b2a3-ab470260bc73",
"fileCreationDate": "2023年07月26日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17803"
},
{
"fileId": "5f9911c2-40cb-44ab3-9848-73ea28d646ef",
"fileName": "80大寿纪念日.DAT",
"fileParentFolder": "418631e4-5b9d-4247-9909-ef24f609b1b6",
"fileCreationDate": "2023年07月23日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17763"
},
{
"fileId": "6cff1198-3357-4c843-b064-4067cc7a6651",
"fileName": "000-Spring高级49讲-导学.mp4",
"fileParentFolder": "418631e4-5b9d-4247-9909-ef24f609b1b6",
"fileCreationDate": "2023年07月23日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17760"
},
{
"fileId": "7dc46fb9-50ba-4d4c4-a6ae-b6aa73b05647",
"fileName": "inspiration.png",
"fileParentFolder": "418631e4-5b9d-4247-9909-ef24f609b1b6",
"fileCreationDate": "2023年07月25日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17772"
},
{
"fileId": "8e78ac62-9c9b-40433-bd8d-3fe2fad4312b",
"fileName": "5f9911c2-40cb-4ab3-9848-73ea28d646ef.mp4",
"fileParentFolder": "5a987c3c-0f86-4f59-b159-c8f06389499c",
"fileCreationDate": "2023年07月26日",
"fileCreator": "admin",
"url": "https://fengzheng.space/file/17805"
}
],
"code": 0,
"msg": "操作成功",
"currentPage": 0,
"currentSize": 0,
"totalPage": null,
"data": null
}
修改于 2023-07-27 08:26:24