Retry Rollout
Create a new attempt of a finished or cancelled rollout in the same job.
POST
/
rollouts
/
{rollout_id}
/
retry
cURL
curl --request POST \
--url http://127.0.0.1:{port}/rollouts/{rollout_id}/retry \
--header 'Authorization: Bearer <token>'from harbor import Harbor
client = Harbor()
result = client.retry_rollout("ROLLOUT_ID")
print(result)
client.close()
{
"rollout_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Required only when the server has HARBOR_API_KEY configured.
Headers
Required string length:
1 - 200Path Parameters
Response
Successful Response
Was this page helpful?
โI
cURL
curl --request POST \
--url http://127.0.0.1:{port}/rollouts/{rollout_id}/retry \
--header 'Authorization: Bearer <token>'from harbor import Harbor
client = Harbor()
result = client.retry_rollout("ROLLOUT_ID")
print(result)
client.close()
{
"rollout_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}
