Skip to main content
PUT
Select a verified READY runtime revision while in MANUAL mode.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Headers

x-revo-operation-id
string<uuid>

Operation identity; this header alone keeps the existing classic write flow and does not select Studio. Bound Studio retries reuse it only for identical input. An operation previously staged by the legacy implicit Studio flow must be retried with its explicit session binding.

x-revo-studio-session-id
string<uuid>

Explicitly select an existing editable Studio workspace. This session header alone selects Studio staging when Studio Preview is enabled. A bound write fails closed when Preview is disabled; omitting this header keeps the classic write flow.

x-revo-base-version
integer

Observed component version for an action without a version field. Conflicts never overwrite source.

Required range: x >= 0

Path Parameters

componentId
string<uuid>
required

Body

application/json
revisionId
string<uuid>
required
expectedGeneration
number
required

Current runtime-state generation used for compare-and-set.

Required range: x >= 0

Response

componentId
string<uuid>
required
availability
enum<string>
required
Available options:
NOT_READY,
READY,
DISABLED
activationMode
enum<string>
required
Available options:
AUTO,
MANUAL
generation
number
required
Required range: x >= 0
hasPendingRevision
boolean
required

True when the newest saved runtime revision is not the active revision.

desiredRevisionId
string<uuid> | null
activeRevisionId
string<uuid> | null
activeRevisionNumber
number | null
Required range: x >= 1
desiredRevisionNumber
number | null
Required range: x >= 1
activeDeploymentId
string<uuid> | null
latestDeploymentId
string<uuid> | null
latestDeployment
object | null