More API testing.
[wolnelektury.git] / src / api / tests / res / responses / filter-books.json
index db41287..b56ffb1 100644 (file)
@@ -6,11 +6,12 @@
         "author": "", 
         "url": "https://example.com/katalog/lektura/child/", 
         "has_audio": false, 
+        "title": "Child", 
         "cover": "", 
         "epoch": "", 
         "href": "https://example.com/api/books/child/", 
         "key": "book$child", 
-        "genre": "", 
+        "genre": "Wiersz", 
         "simple_thumb": "", 
         "slug": "child", 
         "cover_thumb": ""
         "author": "", 
         "url": "https://example.com/katalog/lektura/grandchild/", 
         "has_audio": false, 
+        "title": "Grandchild", 
         "cover": "", 
         "epoch": "", 
         "href": "https://example.com/api/books/grandchild/", 
         "key": "book$grandchild", 
-        "genre": "", 
+        "genre": "Sonet", 
         "simple_thumb": "", 
         "slug": "grandchild", 
         "cover_thumb": ""
         "cover_color": "#a6820a", 
         "author": "John Doe", 
         "url": "https://example.com/katalog/lektura/parent/", 
-        "has_audio": false, 
+        "has_audio": true, 
+        "title": "Parent", 
         "cover": "cover/parent.jpg", 
         "epoch": "Barok", 
         "href": "https://example.com/api/books/parent/", 
         "key": "book$parent", 
         "genre": "Sonet", 
-        "simple_thumb": "https://example.com/media/cover/parent_cover_api_thumb.jpg", 
+        "simple_thumb": "https://example.com/media/cover_api_thumb/parent.jpg", 
         "slug": "parent", 
         "cover_thumb": "https://example.com/media/cover/parent.jpg-139x193"
     }