跳转到主要内容
POST
Change the configuration of one installed use-case workload

授权

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
必填

One opaque attempt key of at most 128 characters; exactly one value.

Required string length: 1 - 128

路径参数

id
string
必填

Stack ID

workload
string
必填

Installed catalog workload slug.

Pattern: ^[a-z0-9][a-z0-9._-]{0,63}$

请求体

application/json
expected_spec_hash
string
必填

Native baseline hash read from the use-case configuration view.

Pattern: ^sha256:[0-9a-f]{64}$
compute_profile
string
Pattern: ^[a-z0-9][a-z0-9._-]{0,63}$
storage_profile
string
Pattern: ^[a-z0-9][a-z0-9._-]{0,63}$
accelerator_profile
string
Pattern: ^[a-z0-9][a-z0-9._-]{0,63}$
settings
object

Public catalog settings by key; each value is a string, boolean or number.

secret_refs
object

Existing secret references by catalog key. Values are secret:// references, never secret material.

响应

Configuration change accepted or replayed; jobs are queued

data
object
meta
object