# 批量上传资源文件

# 调用方式: POST

# 接口地址:

https://api.freelog.com/v2/storages/files/uploadFileMulti?resourceTypeCode=RT001
1

# 传入参数说明:

参数 必选 类型及范围 说明
resourceTypeCode 可选 string 传入此参数,则会进行文件校验检查

# 返回说明:

返回值字段 字段类型 字段说明
sha1 string 存储对象的sha1值
fileSize number 文件大小尺寸

# 示例

{
  "ret": 0,
  "errCode": 0,
  "errcode": 0,
  "msg": "success",
  "data": [
    {
      "filename": "Spring.md",
      "sha1": "f10dc4e3a3ffba53a3aa4953a6f0488fc047b6e4",
      "fileSize": 15112
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13