24 lines
450 B
Python
24 lines
450 B
Python
"""User settings endpoints, including scrobbling configuration."""
|
|
|
|
from typing import Any
|
|
|
|
from fastapi import APIRouter
|
|
|
|
router = APIRouter(prefix="/settings", tags=["settings"])
|
|
|
|
|
|
@router.get("")
|
|
async def get_settings() -> Any: ...
|
|
|
|
|
|
@router.patch("")
|
|
async def update_settings() -> Any: ...
|
|
|
|
|
|
@router.get("/scrobbling")
|
|
async def get_scrobbling_settings() -> Any: ...
|
|
|
|
|
|
@router.put("/scrobbling")
|
|
async def set_scrobbling_settings() -> Any: ...
|