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
+19
View File
@@ -0,0 +1,19 @@
"""External source endpoints (yt-dlp etc.)."""
from typing import Any
from fastapi import APIRouter
router = APIRouter(prefix="/sources", tags=["sources"])
@router.get("")
async def list_sources() -> Any: ...
@router.get("/{source}/search")
async def search_source(source: str) -> Any: ...
@router.get("/{source}/health")
async def source_health(source: str) -> Any: ...