From 6ec8d25d7803d28b7334db00b5e1205fc55b0c12 Mon Sep 17 00:00:00 2001 From: Jonas Lochmann Date: Mon, 13 Jan 2020 00:00:00 +0000 Subject: [PATCH] Add admin API description to the Readme --- Readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Readme.md b/Readme.md index f8db2d4..87ee263 100644 --- a/Readme.md +++ b/Readme.md @@ -104,3 +104,15 @@ server { } } ``` + +## Admin API + +When the ``ADMIN_TOKEN`` environment variable was set, then there is a admin API available +at ``http(s)://server/admin``. This page is protected using HTTP basic authentication. +The username is ignored, the password is the admin token. + +This allows to: + +- see the counter for the websocket connections +- set a status message which is shown at all linked clients at the overview screen +- unlock the premium version feature for a user for a month or a year