Files
mcma-backend/app/api/v1/albums.py
T
2026-06-06 13:00:01 +03:00

25 lines
471 B
Python

"""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: ...