Add /catalog/v2/illustration endpoint

This commit is contained in:
Matthieu Gautier
2021-11-17 15:12:20 +01:00
parent 9482bfb95b
commit e108fb0e47
3 changed files with 19 additions and 0 deletions

View File

@ -201,6 +201,7 @@ const ResourceCollection resources200Uncompressible{
{ WITH_ETAG, "/ROOT/meta?content=zimfile&name=publisher" },
{ WITH_ETAG, "/ROOT/meta?content=zimfile&name=favicon" },
{ WITH_ETAG, "/ROOT/meta?content=zimfile&name=Illustration_48x48@1" },
{ NO_ETAG, "/ROOT/catalog/v2/illustration/zimfile?size=48" },
{ WITH_ETAG, "/ROOT/zimfile/I/m/Ray_Charles_classic_piano_pose.jpg" },
@ -276,6 +277,7 @@ const char* urls404[] = {
"/ROOT/catalog",
"/ROOT/catalog/non-existent-item",
"/ROOT/catalogBLABLABLA/root.xml",
"/ROOT/catalog/v2/illustration/zimfile?size=96",
"/ROOT/meta",
"/ROOT/meta?content=zimfile",
"/ROOT/meta?content=zimfile&name=non-existent-item",