Create a shard upload task and return the upload address. Please follow the steps below when uploading:
1. Use POST to send shard data
2. Set Content-Type to multipart/form-data
3. Use 'file' field to store shard data in form-data
4. URL parameters include:id={task_id}&part_number={part_number}
5. Add request header: Authorization: Bearer {{authorization}}
6. Save etag and part_number from the returned data for use in the complete shard upload task interface
Example: POST {{upload_url}}?id={{task_id}}&part_number={{part_number}}
Returned data example: {"code":12156200,"msg":"Success","data":{"etag":"****","part_number":1}}
Bucket ID
File name (length 0 ~ 1023 characters)
Directory (defaults to root directory of bucket, no slash / at the beginning or end, length 0 ~ 1023 characters)
File size (in bytes)
Storage type
1: HighSpeed
2: StandardSpeed
3: LowSpeed
Whether to clear the task (defaults to false)
Task ID
Upload URL
Authorization
{
"task_id": "2013****3088",
"upload_url": "https://***.com/v1/oss/upload",
"authorization": "Bearer ey****ssw5c"
}