mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 09:49:32 +02:00
Add admin API description to the Readme
This commit is contained in:
parent
93e441e821
commit
6ec8d25d78
1 changed files with 12 additions and 0 deletions
12
Readme.md
12
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue