Rerun ended transfer
Reruns ended transfer by creating a new, identical transfer.
This operation requires:
space_schedule_replicationwhen rerunning replicationspace_schedule_evictionwhen rerunning evictionspace_schedule_replicationandspace_schedule_evictionwhen rerunning migration
Additionally, rerunning transfers using views requires space_query_views privilege.
Example cURL requests
Rerun finished transfer
curl -X POST -H "X-Auth-Token: $TOKEN" \
"https://$HOST/api/v3/oneprovider/transfers/$TRANSFER_ID/rerun"
Path parameters
| Parameter | Type & Description |
|---|---|
| tid required | string Transfer Id. |
Request Examples
oneprovider-rest-cli rerunTransfer tid=$TRANSFER_IDResponses
The rerun request has been accepted and the result is the transfer Id, which can be used for monitoring the new transfer status. Also URI of the new transfer in form https://$HOST/api/v3/oneprovider/transfers/{tid} is returned in the response Location header.
| Property | Type & Description |
|---|---|
transferId string New transfer Id. | |
Invalid request.
| Property | Type & Description |
|---|---|
error string Identifier representing internal error code. | |
error_description string Detailed error message. | |
Example
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}Forbidden request.
| Property | Type & Description |
|---|---|
error string Identifier representing internal error code. | |
error_description string Detailed error message. | |
Example
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}Transfer with provided Id was not found.
| Property | Type & Description |
|---|---|
error string Identifier representing internal error code. | |
error_description string Detailed error message. | |
Example
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}Internal server error.
| Property | Type & Description |
|---|---|
error string Identifier representing internal error code. | |
error_description string Detailed error message. | |
Example
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}