Skip to main content
POST
Promote a version to a channel

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Point a channel at a version.

channel
string
required

Addresses a version. latest is derived from the highest version rather than stored, so it cannot drift from the version table.

Required string length: 1 - 36
Pattern: ^[a-z0-9][a-z0-9_-]*$
id
string
required

a string matching the pattern ^[a-z0-9][a-z0-9/_-]*$

Required string length: 1 - 255
Pattern: ^[a-z0-9][a-z0-9/_-]*$
version
integer
required

a positive number

Response

The operation succeeded.

The operation succeeded.

ok
enum<boolean>
required
Available options:
true