Commit Graph

5 Commits

Author SHA1 Message Date
4f62cceaa0 API: Redirect 404 routes to homepage 2023-05-25 09:06:13 +02:00
f1e01f2a9f API: Add experimental Json API
in preparation for external healthchecks and the
admin backend. We define a couple test routes:

- / List all routes
- /ping Replies pong for online-checks
- /stats Get high-level bot statistics
- /most-recent-drop Returns the most recent entry from dropHistories

The last two routes require a valid apikey header.
All routes are prefixed by /api/v1
2023-04-05 12:00:46 +02:00
cf159c43bc Docker: Make DB port changeable via .env 2022-09-26 16:21:43 +02:00
845005bcce Remove minzbot references from .env.example 2022-04-17 16:13:41 +02:00
6eccae8721 Core bot components 2022-04-17 14:04:51 +02:00