Skip to main content
POST
Prepare a managed-service upgrade review

Authorizations

Authorization
string
header
required

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

Path Parameters

instance_id
string<uuid>
required

Body

application/json

One upgrade of a running managed service: the generation the person reviewed and the package version to move to.

expected_generation
integer<int64>
required

The instance generation the person reviewed; an upgrade of any other generation is refused.

Required range: x >= 1
target_version_id
string<uuid> | null

A newer version of the service's own package; omitted or null moves to the newest version the organisation can use.

Response

The stored upgrade review, its plan and digest.

One upgrade of a managed service, as its preparing actor sees it.

id
string<uuid>
required
instance_id
string<uuid>
required
plan
object
required

What one upgrade moves the service to and what that does to the running service. Every field is resolved by the server and the digest covers all of it.

digest
string
required
Pattern: ^sha256:[a-f0-9]{64}$
state
enum<string>
required
Available options:
pending,
expired,
confirmed
created_at
string<date-time>
required
expires_at
string<date-time>
required
confirmed_at
string<date-time> | null
required
operation_id
string<uuid> | null
required

The operation the confirmation's stack write started; null before confirmation and when it started none.

backup_observation
object | null
required

What the platform last observed of the stack's backups, read when the upgrade was prepared or confirmed; not part of the plan or its digest. Null on a read.

warnings
string[]
required

What the confirmed rollout reported; empty otherwise.