exports
backend.api.exports
Section titled “backend.api.exports”media export API endpoints.
Functions
Section titled “Functions”export_media source
Section titled “export_media source”export_media(session: Annotated[Session, Depends(require_auth)], db: Annotated[AsyncSession, Depends(get_db)]) -> ExportStartResponsestart export of all tracks for authenticated user.
returns an export_id for tracking progress via SSE.
export_progress source
Section titled “export_progress source”export_progress(export_id: str) -> StreamingResponseSSE endpoint for real-time export progress.
download_export source
Section titled “download_export source”download_export(export_id: str, session: Annotated[Session, Depends(require_auth)]) -> RedirectResponsedownload the completed export zip file.
Classes
Section titled “Classes”ExportStartResponse source
Section titled “ExportStartResponse source”response when export is queued for processing.