Skip to main content
POST
Queue an owner-authorized StackKits service action

Autorisierungen

Authorization
string
header
erforderlich

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

Header

Idempotency-Key
string
erforderlich
Required string length: 1 - 128

Pfadparameter

serviceId
string
erforderlich

Canonical service runtime ID

Body

application/json

Either an agent-executed runtime action bound to a fresh inventory revision, or an owner lock action executed entirely in the control plane. The lock is not bound to an inventory observation: an owner must be able to freeze a service whose agent is unreachable.

action
enum<string>
erforderlich

update runs the StackKit upgrade of the owning stack to the pinned release; it is accepted only while allowed_actions advertises it.

Verfügbare Optionen:
start,
stop,
restart,
logs,
update
expected_inventory_revision
integer<int64>
erforderlich
Erforderlicher Bereich: x >= 1
owner_approved
boolean
erforderlich

Required true for start, stop and restart; logs is read-only.

limit
integer

Logs only; defaults to 100.

Erforderlicher Bereich: 1 <= x <= 200
cursor
string

Logs only; opaque StackKits cursor from the prior page.

Maximum string length: 2048

Antwort

Action queued or exact durable replay returned

data
object
meta
object