/catalog/v2/categories goes through OPDSDumper too

This commit is contained in:
Veloman Yunkan
2021-05-24 12:30:32 +04:00
parent cdacc0caf1
commit 9ca6bd006f
3 changed files with 37 additions and 20 deletions

View File

@ -64,6 +64,14 @@ class OPDSDumper
*/
std::string dumpOPDSFeedV2(const std::vector<std::string>& bookIds, const std::string& query) const;
/**
* Dump the categories OPDS feed.
*
* @param categories list of category names
* @return The OPDS feed.
*/
std::string categoriesOPDSFeed(const std::vector<std::string>& categories) const;
/**
* Set the id of the library.
*