# 打包资源文件
# 调用方式: POST
# 接口地址:
https://api.freelog.com/v2/storages/files/compressFiles
1
# body传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
sha1Array | 必选 | [{sha1:string, fileName:string}] | 打包文件的sha1数组 |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
sha1 | string | 存储对象的sha1值 |
fileSize | number | 文件大小尺寸 |
# 示例
{
"ret": 0,
"errcode": 0,
"msg": "success",
"data": {
"sha1": "90db3e14bf81851ee401a02c696a458fbb1f07fc",
"fileSize": 125123185,
}
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9