Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 710 Bytes

uncompress.md

File metadata and controls

43 lines (33 loc) · 710 Bytes

解压文件

地址

/api/files/compress

请求方式

POST
Content-Type: application/json; charset=utf-8

查询参数(Query)

uuid: String; // 实例的 UUID
remote_uuid: String; // 远程服务 UUID
apikey: String; // API 密钥

请求体(Body)

{
  "type": 2,
  "source": "testzip.zip", //要解压的文件
  "targets": "解压目录_testzip.zip" //解压后的目录名,文件将全部在此目录中
}

响应

{
  // ↓ 会返回的值及其解释:200(正常,并返回相应内容);400(请求参数不正确);403(无权限);500(服务器内部错误)
  "status": 200,
  "data": true,
  "time": 1643882564419
}