Go back to a step and re-run forward
POST/apps/{appId}/runs/{runId}/rewind
Authenticate with an operator token or an app API key or a signed-in Foliot Console session.
Discards toStep’s output and that of every step which ran after it, then runs forward on a new generation. Works on FINISHED runs, which is what makes it the tool for a bad deploy. Optionally repins to another version.
Path parameters
appId
stringREQUIRED
The app's name.
runId
string (uuid)REQUIRED
Request body
reason
stringOPTIONAL
max length 1000
toStep
stringREQUIRED
min length 1
version
integer (int64)OPTIONAL
min 1 · max 2147483647