POST variant for /{sourceId}/search endpoint (#434)

* Add POST variant for `/{sourceId}/search` endpoint which handles body data as list of FilterChanges

* Revert changes to existing endpoint and create new route and change the interface

* Update doc

* Rename api endpoint
This commit is contained in:
Valter Martinek
2022-11-05 18:18:20 +01:00
committed by GitHub
parent a9e5bc0c95
commit c2a9820fc1
3 changed files with 44 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ object MangaAPI {
post("{sourceId}/filters", SourceController.setFilters)
get("{sourceId}/search", SourceController.searchSingle)
post("{sourceId}/quick-search", SourceController.quickSearchSingle)
// get("all/search", SourceController.searchGlobal) // TODO
}