POST api/AliyunOss/PutFilesObject?bucketname={bucketname}&randomfilename={randomfilename}&fielext={fielext}&useHighSpeed={useHighSpeed}
同时上传多个文件
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bucketname |
阿里云空间名称 |
string |
Required |
randomfilename |
是否返回随机文件名,默认false |
boolean |
Default value is False |
fielext |
指定保存为特定的文件扩展名,默认空表示按上传文件的类型生成扩展名 |
string |
Default value is |
useHighSpeed | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
resultName | Description | Type | Additional information |
---|---|---|---|
error |
错误代码 |
integer |
None. |
message |
错误信息 |
string |
None. |
data |
数据 |
Object |
None. |
stacktrace |
详细错误信息 |
string |
None. |
otherdata |
其他返回数据 |
Object |
None. |
LastError | string |
None. |
|
IsComplete | boolean |
None. |
|
total | integer |
None. |
|
index | integer |
None. |
|
IsTerminate | boolean |
None. |
|
taskgroupid | integer |
None. |
|
taskid | integer |
None. |
|
msg | string |
None. |
|
status | integer |
None. |
|
serverTime | date |
None. |
|
lockdata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "error": 1, "message": "sample string 2", "data": {}, "stacktrace": "sample string 4", "otherdata": {}, "LastError": "sample string 6", "IsComplete": true, "total": 8, "index": 9, "IsTerminate": true, "taskgroupid": 11, "taskid": 12, "msg": "sample string 13", "status": 14, "serverTime": "2025-04-24T14:58:32.5392437+08:00", "lockdata": {} }