StackConfig
stack objectrequired
template objectrequired
Where the template came from; empty for a stack no template installed.
True once the stack's Compose text was saved by hand (updateStack), so the template's form must not silently overwrite it. A template install is not manually edited.
The stored docker-compose.yml text. Returned by getStack and updateStack only, never by listStacks. The .env is never returned.
inputs object[]required
The template's inputs, sorted by name.
Possible values: [path, port, string, secret, timezone, device]
Possible values: [appdata, share, media, downloads, gpu]
The value the stack's .env gives the input; empty when it gives none. Absent for a secret.
Present on a secret input only: whether the stack's .env gives it a value. The value itself is never returned.
True for a device input, which updateStackConfig refuses to change.
The existing shares' paths for a path input that is not appdata.
{
"stack": {
"name": "string",
"template": {
"source": "string",
"id": "string",
"revision": "string"
},
"installedAt": "2024-07-29T15:51:28.071Z",
"manuallyEdited": true,
"compose": "string"
},
"inputs": [
{
"name": "string",
"kind": "path",
"role": "appdata",
"label": "string",
"description": "string",
"value": "string",
"set": true,
"readOnly": true,
"suggestions": [
"string"
]
}
]
}