feat: routes

This commit is contained in:
2026-06-06 13:00:01 +03:00
parent 83abcd02dd
commit 87b48e941e
22 changed files with 525 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
"""Album endpoints."""
import uuid
from typing import Any
from fastapi import APIRouter
router = APIRouter(prefix="/albums", tags=["albums"])
@router.get("")
async def list_albums() -> Any: ...
@router.get("/{album_id}")
async def get_album(album_id: uuid.UUID) -> Any: ...
@router.get("/{album_id}/tracks")
async def get_album_tracks(album_id: uuid.UUID) -> Any: ...
@router.get("/{album_id}/cover")
async def get_album_cover(album_id: uuid.UUID) -> Any: ...