"""Download job endpoints. Heavy work is dispatched to arq workers."""

import uuid
from typing import Any

from fastapi import APIRouter

router = APIRouter(prefix="/downloads", tags=["downloads"])


@router.get("")
async def list_downloads() -> Any: ...


@router.post("")
async def create_download() -> Any: ...


@router.get("/{job_id}")
async def get_download(job_id: uuid.UUID) -> Any: ...


@router.delete("/{job_id}")
async def cancel_download(job_id: uuid.UUID) -> Any: ...


@router.post("/{job_id}/retry")
async def retry_download(job_id: uuid.UUID) -> Any: ...


@router.post("/pause")
async def pause_downloads() -> Any: ...


@router.post("/resume")
async def resume_downloads() -> Any: ...
