chore: wiki: add callout to api wiki page

This commit is contained in:
robin committed 2026-08-06 16:35:16 +02:00
1 parent 324e5fca9b
commit 7664d058df
2 files changed
+5 -40

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>