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
+28
View File
@@ -0,0 +1,28 @@
"""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: ...