Feat/wiki #38

Merged
robin merged 8 commits from feat/wiki into main 2026-08-06 15:42:35 +00:00
2 changed files with 5 additions and 40 deletions
Showing only changes of commit 7664d058df - Show all commits

No files matched your search

+5 -1
View File
@@ -1,9 +1,13 @@
import Article from "@/components/wiki/Article";
import { API } from "@/components/mdx-components"
import { API, Callout } from "@/components/mdx-components"
export default function Page() {
return (
<Article title="API-Endpunkte">
<Callout type="info">
Es ist weder eine Authentifikation noch ein API-Key erforderlich.
</Callout>
<h2>Stream</h2>
<API method="GET" route="stream/currentID">
-39
View File
@@ -1,39 +0,0 @@
---
title: API
updatedAt: "2026-08-05"
---
<Callout type="info">
Es ist weder eine Authentifikation noch ein API-Key erforderlich.
</Callout>
## API-Endpoints
### Stream
<API method="GET" route="stream/currentID">
Jetziges angezeigtes Lied abrufen
</API>
<API method="POST" route="stream/currentID">
Lied zum Anzeigen festlegen
</API>
### Lieder
<API method="GET" route="songs/[id]">
Informationen eines Liedes abrufen
</API>
<API method="POST" route="songs/attach">
Lied zu einem Liederbuch hinzufügen
</API>
<API method="POST" route="songs/attach">
Lied von einem Liederbuch entfernen
</API>
### Liederbücher
<API method="GET" route="songbooks">
Liste aller Liederbücher abrufen
</API>
<API method="POST" route="songbooks">
Neues Liederbuch erstellen
</API>