add batch download api (#436)

* Add POST /downloads endpoint for creating multiple

* Fix review notes

* Add chapter id to API endpoints

* Rewrite batch chapter download to use chapter id instead of mangaId+chapterIndex combination

* Change EnqueueInput format to be more futureproof

* Change endpoint path

* Change endpoint path
This commit is contained in:
Valter Martinek
2022-11-06 22:32:18 +01:00
committed by GitHub
parent 8b20e2b48f
commit 2ac5c1362c
6 changed files with 118 additions and 22 deletions

View File

@@ -140,6 +140,7 @@ object Chapter {
val dbChapter = dbChapterMap.getValue(it.url)
ChapterDataClass(
dbChapter[ChapterTable.id].value,
it.url,
it.name,
it.date_upload,