Skip to main content
POST
Prepare a managed-service resize review (browser session)

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Path Parameters

instance_id
string<uuid>
required

Body

application/json

One resize of a running managed service: the generation the person reviewed and the new value of each setting it changes.

expected_generation
integer<int64>
required

The instance generation the person reviewed; a resize of any other generation is refused.

Required range: x >= 1
parameters
object
required

The settings to change and their new values: instances, tier (0 Standard, 1 Production), storage_gib, memory_mib or cpu_millicores, within the package's bounds. A setting left out keeps its value.

Response

The stored resize review, its plan and digest.

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

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

What one resize changes 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.

capacity
object | null
required

The playground quota assessment of the resized service, read when it was prepared or confirmed; not part of the plan or its digest. Null on a read.