下载闪传文件
开发中
POST
/download_flash_file
"notice_type": "flash_file",
"sub_type": "downloading", // downloaded 表示下载完成
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
share_link
string
可选
file_set_id
string
可选
示例
{
"title": "",
"paths": [
"file://d:/temp/1.png",
"http://qq.com/test/1.mp3",
"base64://YWRzZmZzZGZzZGY="
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:3000/download_flash_file' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "",
"paths": [
"file://d:/temp/1.png",
"http://qq.com/test/1.mp3",
"base64://YWRzZmZzZGZzZGY="
]
}'
返回响应
🟢200成功
application/json
Body
status
string
必需
retcode
integer
必需
data
null
必需
message
string
必需
wording
string
必需
示例
{
"status": "ok",
"retcode": 0,
"data": null,
"message": "",
"wording": ""
}
修改于 2025-07-04 09:37:02