28 lines
495 B
Python
28 lines
495 B
Python
"""Storage analysis and cleanup endpoints."""
|
|
|
|
from typing import Any
|
|
|
|
from fastapi import APIRouter
|
|
|
|
router = APIRouter(prefix="/storage", tags=["storage"])
|
|
|
|
|
|
@router.get("")
|
|
async def get_storage_stats() -> Any: ...
|
|
|
|
|
|
@router.get("/duplicates")
|
|
async def get_duplicates() -> Any: ...
|
|
|
|
|
|
@router.get("/broken")
|
|
async def get_broken_files() -> Any: ...
|
|
|
|
|
|
@router.get("/missing-metadata")
|
|
async def get_missing_metadata() -> Any: ...
|
|
|
|
|
|
@router.post("/cleanup")
|
|
async def run_cleanup() -> Any: ...
|