POST /v3/{project_id}/jobs/batch-retry-task
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Project ID of a tenant in a region |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
Content-Type |
Yes |
String |
The content type. The default value is application/json. |
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
X-Language |
No |
String |
Request language type Default value: en-us Values:
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
jobs |
Yes |
Array of RetryInfo objects |
List of requests for resuming upload tasks in batches. |
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
results |
Array of RetryTaskResp objects |
List of tasks that can be resumed in batches. |
count |
Integer |
Total number. |
Parameter |
Type |
Description |
|---|---|---|
id |
String |
Task ID. |
status |
String |
Status |
error_code |
String |
Error code, which is optional and indicates the returned information about the failure status. |
error_msg |
String |
Error message, which is optional and indicates the returned information about the failure status. |
Example of resuming tasks in batches:
https://{Endpoint}/v3/054babbbde80d4602f5cc0043a40ed8c/jobs/batch-retry-task
{
"jobs" : [ {
"job_id" : "140b5236-88ad-43c8-811c-1268453jb101"
} ]
}
Status code: 200
OK
{
"results" : [ {
"id" : "140b5236-88ad-43c8-811c-1268453jb101",
"status" : "success"
} ],
"count" : 1
}
Status Code |
Description |
|---|---|
200 |
OK |
400 |
Bad Request |
For details, see Error Code.