Feat/wiki #38
No files matched your search
@@ -1,9 +1,13 @@
|
|||||||
import Article from "@/components/wiki/Article";
|
import Article from "@/components/wiki/Article";
|
||||||
import { API } from "@/components/mdx-components"
|
import { API, Callout } from "@/components/mdx-components"
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
return (
|
||||||
<Article title="API-Endpunkte">
|
<Article title="API-Endpunkte">
|
||||||
|
<Callout type="info">
|
||||||
|
Es ist weder eine Authentifikation noch ein API-Key erforderlich.
|
||||||
|
</Callout>
|
||||||
|
|
||||||
<h2>Stream</h2>
|
<h2>Stream</h2>
|
||||||
|
|
||||||
<API method="GET" route="stream/currentID">
|
<API method="GET" route="stream/currentID">
|
||||||
|
|||||||
@@ -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>
|
|
||||||
Reference in new issue
Block a user