storage_policy.relay set to true, use Upload file chunk;upload_urls, there should be only one element in upload_urls. The request is similar to Upload file chunk, except:chunk, e.g. http://slavecloudreve.com:5213/api/v4/slave/upload/f1dd2c8c-0c51-475b-a086-b338ae1d8109?chunk=2Authorization shoud be the value of credential in upload session, e.g. Bearer Cr sBnnQ3rZ-UBr7d8ohKpUFtsQc8OMLuWwn1VhuJtdc5k=:1749623351storage_policy.relay set to true, you don't need to finish upload, it's automatically finished after last chunk uploaded.curl --location --request PUT '/file/upload' \
--header 'X-Cr-Purchase-Ticket: 1f63aa26-edc0-40ce-950a-cb4d4323158e' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"uri": "cloudreve://my/Inspirations/archive%20(3).zip",
"size": 65328441,
"policy_id": "J7uV",
"last_modified": 1749524701494,
"mime_type": "application/zip"
}'{
"code": 0,
"data": {
"session_id": "9897ebae-7b73-4169-aabc-6396f470e4bb",
"upload_id": "",
"chunk_size": 26214400,
"expires": 1749620196,
"storage_policy": {
"id": "J7uV",
"name": "Default storage policy",
"type": "local",
"max_size": 0
},
"uri": "cloudreve://my/Inspirations/archive%20(3).zip",
"callback_secret": "0SivUl28p44BADmQDkTJrJOo7iozN74W"
},
"msg": ""
}