summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-26 23:21:01 +0100
committertv <tv@krebsco.de>2026-10-26 23:21:01 +0100
commit813f9c57d227a686c6fb08137a2b6b26e9986ef4 (patch)
tree774e8fb9f86d608fe78f40981a6abf6f2ccdd032 /docs
parent932efcc8db81eda6f1d91fda74d002c0aecd6629 (diff)
show interpolated values in GET /admin/config
Diffstat (limited to 'docs')
-rw-r--r--docs/openapi.yaml22
1 files changed, 21 insertions, 1 deletions
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index bfb297d..3025146 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -407,7 +407,21 @@ paths:
description: |
Every option with its value and where it came from (`default`, `file` with the
file, or `argument`), as `--print-config` prints it. Imported values (`env:`,
- `file:`, `cmd:`) are left out; `imported` lists their importers.
+ `file:`, `cmd:`) are left out; `imported` lists their importers. Secrets are
+ left out however they were given (`secret`). Text with placeholders
+ (`${env:NAME}`) is shown as `values` says; `templates` lists the text as
+ written.
+ parameters:
+ - name: values
+ in: query
+ required: false
+ description: |
+ Text with placeholders as it ends up (`interpolated`), or as written
+ (`original`).
+ schema:
+ type: string
+ enum: [interpolated, original]
+ default: interpolated
responses:
'200':
description: The configuration.
@@ -436,6 +450,12 @@ paths:
type: array
items:
type: string
+ templates:
+ type: array
+ items:
+ type: string
+ secret:
+ type: boolean
value: {}
example:
files: [/etc/continuum.toml]