- 前端接口
- 后端接口
- 更新接口
- 账户接口
- 皮肤站接口
创建压缩文件
POST
https://sbi.pigeon-server.cn/api/ui/compression
FileManager
最后修改时间:2024-10-30 22:34:55
责任人:Half_nothing
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
fileList
array [object {2}]
必需
path
string
必需
isFile
boolean
必需
compressFileName
string
必需
示例
{
"fileList": [
{
"path": "string",
"isFile": true
}
],
"compressFileName": "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 'https://sbi.pigeon-server.cn/api/ui/compression' \
--header 'Content-Type: application/json' \
--data-raw '{
"fileList": [
{
"path": "string",
"isFile": true
}
],
"compressFileName": "string"
}'
返回响应
🟢200成功
application/json
Body
status
boolean
接口状态
msg
string | null
详细信息
data
string | integer | boolean | array | object | number | null
应用数据
示例
{
"status": true,
"msg": "string",
"data": "string"
}
修改于 2024-10-30 22:34:55