跳转到主要内容
POST
Read, review or back up an own application adopted with Stack it

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

请求头

Idempotency-Key
string
必填
Required string length: 1 - 200

路径参数

serviceId
string
必填

Canonical service runtime ID

请求体

application/json
operation
enum<string>
必填
可用选项:
status,
logs,
backup,
review,
update_review,
checkpoint_rollback_review,
checkpoint_discard_review
expected_inventory_revision
integer<int64>
必填
必填范围: x >= 1
action
enum<string>

review only.

可用选项:
start,
stop,
restart,
rollback
image_tag
string

update_review only; a newer version tag of the application's own image.

Maximum string length: 128
allow_major
boolean
默认值:false

update_review only; admits another major version or an unversioned running image.

checkpoint
string

Checkpoint reviews only; the operation ID of the tag update that took it.

Maximum string length: 128
owner_approved
boolean
默认值:false

backup only.

响应

Application lifecycle queued or exact durable replay returned

data
object