Modify object storage type (when the file size exceeds 5GB, please use the chunked modify storage type interface)
File ID array
Storage type
1: HighSpeed
2: StandardSpeed
3: LowSpeed
Bucket ID
{
"ids": ["12234"],
"storage_class": 2,
"bucket_id":"11123"
}操作结果(数组中的error字段表示该文件修改存储类型失败的错误)
ID
Error
{
"res": [
{
"id": "2013****3088",
"error": ""
},
{
"id": "2013****3089",
"error": "Failed to change storage type: file is in use"
}
]
}