diff options
| author | tv <tv@krebsco.de> | 2026-10-26 23:21:01 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-26 23:21:01 +0100 |
| commit | 813f9c57d227a686c6fb08137a2b6b26e9986ef4 (patch) | |
| tree | 774e8fb9f86d608fe78f40981a6abf6f2ccdd032 /docs/openapi.yaml | |
| parent | 932efcc8db81eda6f1d91fda74d002c0aecd6629 (diff) | |
show interpolated values in GET /admin/config
Diffstat (limited to 'docs/openapi.yaml')
| -rw-r--r-- | docs/openapi.yaml | 22 |
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] |
