curl
curl -sS -X POST "https://gateway.orbit/api/v1/gateway/releases/1/rollback" \
--cacert /path/to/orbit-root-ca.pem \
-H 'Accept: application/json' \
-H 'X-Orbit-Request-Id: 9d6b1e5c-4a3f-4a1b-9f0e-6d2c3f5a7b81' \
-H 'Content-Type: application/json' \
-d '{}'{
"data": {
"id": 123,
"release": "<string>",
"sha": "<string>",
"requested": "<string>",
"trigger": "<string>",
"force": true,
"outcome": "<string>",
"finished": true,
"migrations_ran": true,
"retryable": true,
"cleanup_paused": true,
"snapshot": "<string>",
"previous": "<string>",
"phases": {},
"error_code": "<string>",
"message": "<string>",
"duration_ms": 123,
"alert": {},
"created_at": "<string>",
"updated_at": "<string>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Gateway
gateway:release:rollback
Queues a rollback to a retained release, named by its 12-digit id, and starts its release unit. Switches code only; restoring a database snapshot is an explicit operator step. Answers 202 with the queued release record. See /reference/gateway-recovery#roll-back.
POST
/
api
/
v1
/
gateway
/
releases
/
{release}
/
rollback
curl
curl -sS -X POST "https://gateway.orbit/api/v1/gateway/releases/1/rollback" \
--cacert /path/to/orbit-root-ca.pem \
-H 'Accept: application/json' \
-H 'X-Orbit-Request-Id: 9d6b1e5c-4a3f-4a1b-9f0e-6d2c3f5a7b81' \
-H 'Content-Type: application/json' \
-d '{}'{
"data": {
"id": 123,
"release": "<string>",
"sha": "<string>",
"requested": "<string>",
"trigger": "<string>",
"force": true,
"outcome": "<string>",
"finished": true,
"migrations_ran": true,
"retryable": true,
"cleanup_paused": true,
"snapshot": "<string>",
"previous": "<string>",
"phases": {},
"error_code": "<string>",
"message": "<string>",
"duration_ms": 123,
"alert": {},
"created_at": "<string>",
"updated_at": "<string>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}