api: Begin implementing an API
This commit is contained in:
parent
1a5e83be10
commit
2fac0390b1
11 changed files with 186 additions and 23 deletions
8
API.md
Normal file
8
API.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# API Documentation
|
||||
|
||||
The distillery comes with an API served under `/api/`.
|
||||
It is still a work in progress, and will be polished and properly implemented at a later point.
|
||||
The API is currently disabled by default, and needs to be enabled in `distillery.yaml`.
|
||||
|
||||
- `/api/v1/systems`: Returns a (publically visible) list of systems
|
||||
- `/api/v1/news`: Returns JSON containing all news items
|
||||
Loading…
Add table
Add a link
Reference in a new issue