update
This commit is contained in:
@@ -8,10 +8,12 @@
|
||||
- GET /videos — alle Videos abrufen (optional nach Profil filtern)
|
||||
- GET /profiles — alle Profile abrufen
|
||||
- GET /videos/downloaded — heruntergeladene Videos abrufen (optional nach Profil filtern)
|
||||
- DELETE /videos?profile_id=X — nicht heruntergeladene Videos des Profils loeschen
|
||||
- DELETE /videos?profile_id=X&exclude_ids= — Videos des Profils loeschen (ausser lokal gespeicherte)
|
||||
- POST /videos/{id}/download — Download triggern
|
||||
- GET /videos/{id}/stream — Video streamen
|
||||
- GET /videos/{id}/file — Video-Datei zum Download ausliefern
|
||||
- DELETE /videos/{id}/file — Server-Datei loeschen (nach lokalem Download)
|
||||
- WS /ws — WebSocket, benachrichtigt Clients bei neuen Videos
|
||||
## Services
|
||||
- VideoService — Videos speichern, abrufen, Status verwalten
|
||||
- DownloadService — yt-dlp aufrufen, Video herunterladen
|
||||
@@ -31,7 +33,7 @@
|
||||
## Services
|
||||
- LocalStorageService — Videos lokal speichern, pruefen, loeschen
|
||||
## API
|
||||
- ServerApi — kommuniziert mit FastAPI (GET /profiles, GET /videos, POST /download, GET /stream, GET /videos/{id}/file)
|
||||
- ServerApi — kommuniziert mit FastAPI (GET /profiles, GET /videos, POST /download, GET /stream, GET /videos/{id}/file, DELETE /videos/{id}/file, DELETE /videos)
|
||||
## Model
|
||||
- Video — id, title, youtuber, thumbnailUrl, youtubeUrl, isDownloaded, localFilePath, profileIds
|
||||
- Profile — id, name
|
||||
Reference in New Issue
Block a user