API is now pretty much tested.
[wolnelektury.git] / src / api / tests / res / responses / ebooks.json
index 70084ef..9c4659a 100644 (file)
@@ -2,6 +2,7 @@
     {
         "fb2": "", 
         "mobi": "", 
+        "title": "Child",
         "author": "", 
         "cover": "", 
         "href": "https://example.com/api/books/child/", 
         "epub": ""
     }, 
     {
-        "fb2": "https://example.com/media/fb2/grandchild.fb2", 
-        "mobi": "", 
+        "fb2": "https://example.com/katalog/pobierz/grandchild.fb2", 
+        "mobi": "https://example.com/katalog/pobierz/grandchild.mobi", 
+        "title": "Grandchild",
         "author": "", 
         "cover": "", 
         "href": "https://example.com/api/books/grandchild/", 
-        "pdf": "", 
-        "txt": "https://example.com/media/txt/grandchild.txt", 
+        "pdf": "https://example.com/katalog/pobierz/grandchild.pdf", 
+        "txt": "https://example.com/katalog/pobierz/grandchild.txt", 
         "slug": "grandchild", 
-        "epub": ""
+        "epub": "https://example.com/katalog/pobierz/grandchild.epub"
     }, 
     {
         "fb2": "", 
         "mobi": "https://example.com/media/mobi/parent.mobi", 
+        "title": "Parent",
         "author": "John Doe", 
         "cover": "cover/parent.jpg", 
         "href": "https://example.com/api/books/parent/",