From e7ca2d6adc3dcb025b09479fc570cc8947f43f17 Mon Sep 17 00:00:00 2001 From: Arksine Date: Wed, 19 May 2021 20:42:44 -0400 Subject: [PATCH] docs: add 'warnings' field to "/server/info" response Signed-off-by: Eric Callahan --- docs/web_api.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/web_api.md b/docs/web_api.md index 6c3ab81..44d39d2 100644 --- a/docs/web_api.md +++ b/docs/web_api.md @@ -415,7 +415,11 @@ An object containing various fields that report server state. "power" ], "failed_components": [], - "registered_directories": ["config", "gcodes", "config_examples", "docs"] + "registered_directories": ["config", "gcodes", "config_examples", "docs"], + "warnings": [ + "Invalid config option 'api_key_path' detected in section [authorization]. Remove the option to resolve this issue. In the future this will result in a startup error.", + "Unparsed config section [fake_section] detected. This may be the result of a component that failed to load. In the future this will result in a startup error." + ] } ``` !!! warning