main.py - added some debug endpoints

This commit is contained in:
Oscar Krause
2022-12-20 18:24:59 +01:00
parent fad0545942
commit c647363b6d
2 changed files with 31 additions and 0 deletions

View File

@@ -2,6 +2,24 @@
Minimal Delegated License Service (DLS).
## Endpoints
### `GET /`
Just a simple *hello world* endpoint.
### `GET /status`
Status endpoint, used for *healthcheck*.
### `GET /-/origins`
List registered origins.
### `GET /-/leases`
List current leases.
# Setup (Docker)
**Run this on the Docker-Host**