ApiRouter: New provider API routes

This commit is contained in:
mikiher 2025-10-14 18:10:12 +03:00
parent 4f30cbf2f6
commit 1da3ab7fdc

View File

@ -283,6 +283,12 @@ class ApiRouter {
this.router.get('/search/podcast', SearchController.findPodcasts.bind(this))
this.router.get('/search/authors', SearchController.findAuthor.bind(this))
this.router.get('/search/chapters', SearchController.findChapters.bind(this))
this.router.get('/search/providers/books', SearchController.getBookProviders.bind(this))
this.router.get('/search/providers/books/covers', SearchController.getBookCoverProviders.bind(this))
this.router.get('/search/providers/podcasts', SearchController.getPodcastProviders.bind(this))
this.router.get('/search/providers/podcasts/covers', SearchController.getPodcastCoverProviders.bind(this))
this.router.get('/search/providers/authors', SearchController.getAuthorProviders.bind(this))
this.router.get('/search/providers/chapters', SearchController.getChapterProviders.bind(this))
//
// Cache Routes (Admin and up)