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

29 lines
588 B
Python

"""Artist endpoints."""
import uuid
from typing import Any
from fastapi import APIRouter
router = APIRouter(prefix="/artists", tags=["artists"])
@router.get("")
async def list_artists() -> Any: ...
@router.get("/{artist_id}")
async def get_artist(artist_id: uuid.UUID) -> Any: ...
@router.get("/{artist_id}/albums")
async def get_artist_albums(artist_id: uuid.UUID) -> Any: ...
@router.get("/{artist_id}/tracks")
async def get_artist_tracks(artist_id: uuid.UUID) -> Any: ...
@router.get("/{artist_id}/similar")
async def get_similar_artists(artist_id: uuid.UUID) -> Any: ...