Added data type of vars to API docs

This commit is contained in:
CasVT
2024-03-03 15:12:36 +01:00
parent 86c99317ea
commit a881f090be
4 changed files with 35 additions and 8 deletions

View File

@@ -706,7 +706,7 @@ def api_settings():
vars=[AllowNewAccountsVariable, LoginTimeVariable,
LoginTimeResetVariable, HostVariable, PortVariable,
UrlPrefixVariable],
description='Edit the admin settings'
description='Edit the admin settings. Supplying a hosting setting will automatically restart MIND.'
)
),
methods=['GET', 'PUT']
@@ -798,7 +798,7 @@ def api_admin_user(inputs: Dict[str, Any], u_id: int):
),
post=Method(
vars=[DatabaseFileVariable, CopyHostingSettingsVariable],
description="Upload and apply a database file"
description="Upload and apply a database file. Will automatically restart MIND."
)
),
methods=['GET', 'POST']