From 5a6ef16e95dcddea34edd104ed8b5ebab1a8880d Mon Sep 17 00:00:00 2001 From: CasVT Date: Wed, 28 Feb 2024 21:11:39 +0000 Subject: [PATCH] Updated API docs --- docs/api.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/api.md b/docs/api.md index 375ace6..494467b 100644 --- a/docs/api.md +++ b/docs/api.md @@ -731,9 +731,12 @@ Replace `` with the ID of the entry. For example: `/staticreminders/2` | Name | Required | Description | Allowed values | | ---- | -------- | ----------- | -------------- | - | allow_new_accounts | Yes | Whether or not to allow users to register a new account. The admin can always add a new account. | N/A | - | login_time | Yes | How long a user stays logged in, in seconds. Between 1 min and 1 month (60 <= sec <= 2592000) | N/A | - | login_time_reset | Yes | If the Login Time timer should reset with each API request. | N/A | + | allow_new_accounts | No | Whether or not to allow users to register a new account. The admin can always add a new account. | N/A | + | login_time | No | How long a user stays logged in, in seconds. Between 1 min and 1 month (60 <= sec <= 2592000) | N/A | + | login_time_reset | No | If the Login Time timer should reset with each API request. | N/A | + | host | No | The IP to bind to. Use 0.0.0.0 to bind to all addresses. | N/A | + | port | No | The port to listen on. | N/A | + | url_prefix | No | The base url to run on. Useful for reverse proxies. Empty string to disable. | N/A | **Returns** @@ -741,7 +744,6 @@ Replace `` with the ID of the entry. For example: `/staticreminders/2` | ---- | ----- | ----------- | | 200 | N/A | Success | | 400 | InvalidKeyValue | The value of a key is invalid | - | 400 | KeyNotFound | A key was not found in the input that is required to be given | ### `/admin/users`