chore: wiki: automatic list of all api endpoints
This commit is contained in:
1 parent
7664d058df
commit
3fc0697db8
11 files changed
+205
-39
No files matched your search
@@ -8,10 +8,12 @@ let currentSong = {
|
||||
title: ""
|
||||
};
|
||||
|
||||
// @wikiDescription: Akutell gestreamtes Lied abrufen
|
||||
export async function GET() {
|
||||
return NextResponse.json(currentSong)
|
||||
}
|
||||
|
||||
// @wikiDescription: Lied zum Streamen festlegen
|
||||
export async function POST(request: Request) {
|
||||
try {
|
||||
const data = await request.json();
|
||||
|
||||
Reference in new issue
Block a user