Container Registry API: schemas
The request and response bodies of the operations in this API.
CreateWorkspaceImageVariantDto
| Property | Type | Required | Description |
|---|
autoRebake | boolean | no | |
baseImage | string | yes | Base image tag or digest. The service resolves the immutable digest at bake time. |
description | string | yes | |
isOrgDefault | boolean | no | |
manifest | object | yes | WorkspaceImageManifest JSON. Validated server-side against the typed schema. |
regions | array of string | no | Regions to replicate the baked image into. Empty = global. v1 records only — orchestrator does not yet select on region. |
runtimeKind | string | yes | Runtime id the variant targets (a worker runtime adapter contributes the id). Drives which kernel base image cascade applies. |
slug | string | yes | Stable per-org slug used as the variant identity in the orchestrator cascade. |
ListWorkspaceImageVariantsResponseDto
ResolveOrgDefaultResponseDto
| Property | Type | Required | Description |
|---|
variant | WorkspaceImageVariantDto or null | yes | The resolved workspace image variant, or null when none matches. |
UpdateWorkspaceImageVariantDto
| Property | Type | Required | Description |
|---|
autoRebake | boolean | no | |
description | string | no | |
isOrgDefault | boolean | no | |
regions | array of string | no | |
VariantStatus
Type: one of "draft", "building", "ready", "failed", "archived"
WorkspaceImageVariantDto
| Property | Type | Required | Description |
|---|
autoRebake | boolean | yes | |
baseImage | string | yes | |
buildLog | object or null | no | |
builtAt | string (date-time) or null | no | |
contentHash | string | yes | |
createdAt | string (date-time) | yes | |
description | string | yes | |
id | string | yes | |
isOrgDefault | boolean | yes | |
manifest | object | yes | |
orgId | string | yes | |
regions | array of string | yes | |
registryRef | object or null | no | |
runtimeKind | string | yes | |
slug | string | yes | |
status | VariantStatus | yes | |
updatedAt | string (date-time) | yes | |