Point an alias at a version
Authenticate with an app API key or a signed-in Foliot Console session.
Creates the alias or moves it. A run started with this alias from now on gets that version; runs already started stay on theirs. Pointing default pins the version a run that names neither a version nor an alias gets, so registering a new version no longer moves those runs: delete default to have it follow the newest version again. The version must be registered, or this is a 404. A workflow may have a limited number of aliases besides default; a new one past that is a 409, while moving one that exists, or default, is never refused.
Path parameters
stringThe app's id, not its name, returned as app.id when the app is created. The id never changes.
stringstringpattern ^[a-z][a-z0-9-]{0,39}$
Request body
integer (int64)min 1 · max 2147483647