Add podcast episode batch get, update, and download endpoints

This commit is contained in:
mikiher committed 2026-12-03 05:30:03 +02:00
1 parent 5ba7a3fee5
commit 0f213c2b4e
3 files changed
+867 -37

No files matched your search

+3
View File
@@ -250,6 +250,9 @@ class ApiRouter {
this.router.post('/podcasts/feed', PodcastController.getPodcastFeed.bind(this))
this.router.post('/podcasts/opml/parse', PodcastController.getFeedsFromOPMLText.bind(this))
this.router.post('/podcasts/opml/create', PodcastController.bulkCreatePodcastsFromOpmlFeedUrls.bind(this))
this.router.post('/podcasts/episodes/batch/get', PodcastController.batchGetEpisodes.bind(this))
this.router.post('/podcasts/episodes/batch/update', PodcastController.batchUpdateEpisodes.bind(this))
this.router.post('/podcasts/episodes/batch/download', PodcastController.batchDownloadEpisodes.bind(this))
this.router.get('/podcasts/:id/checknew', PodcastController.middleware.bind(this), PodcastController.checkNewEpisodes.bind(this))
this.router.get('/podcasts/:id/downloads', PodcastController.middleware.bind(this), PodcastController.getEpisodeDownloads.bind(this))
this.router.get('/podcasts/:id/clear-queue', PodcastController.middleware.bind(this), PodcastController.clearEpisodeDownloadQueue.bind(this))