Merge remote-tracking branch 'zawadzki/new-design'
[wolnelektury.git] / src / api / tests / res / responses / books-grandchild.json
index faf8c78..c58dde3 100644 (file)
@@ -4,35 +4,36 @@
         "html": "Fragment", 
         "title": "Parent, Child"
     }, 
         "html": "Fragment", 
         "title": "Parent, Child"
     }, 
-    "txt": "https://example.com/media/txt/grandchild.txt", 
+    "txt": "http://testserver/media/txt/grandchild.txt",
     "children": [], 
     "children": [], 
-    "xml": "", 
+    "xml": "http://testserver/media/xml/grandchild.xml",
     "genres": [
         {
     "genres": [
         {
-            "url": "https://example.com/katalog/gatunek/sonet/", 
-            "href": "https://example.com/api/genres/sonet/", 
+            "url": "http://testserver/katalog/gatunek/sonet/",
+            "href": "http://testserver/api/genres/sonet/",
             "name": "Sonet", 
             "slug": "sonet"
         }
     ], 
     "title": "Grandchild", 
     "media": [], 
             "name": "Sonet", 
             "slug": "sonet"
         }
     ], 
     "title": "Grandchild", 
     "media": [], 
-    "html": "https://example.com/media/html/grandchild.html", 
+    "html": "http://testserver/media/html/grandchild.html",
     "preview": false, 
     "preview": false, 
-    "fb2": "https://example.com/media/fb2/grandchild.fb2", 
+    "fb2": "http://testserver/media/fb2/grandchild.fb2",
     "kinds": [], 
     "kinds": [], 
+    "language": "pol",
     "parent": {
         "kind": "", 
         "full_sort_key": "$child$2", 
         "author": "", 
     "parent": {
         "kind": "", 
         "full_sort_key": "$child$2", 
         "author": "", 
-        "url": "https://example.com/katalog/lektura/child/", 
+        "url": "http://testserver/katalog/lektura/child/",
         "cover_color": "#000000", 
         "title": "Child", 
         "cover": "", 
         "liked": null, 
         "slug": "child", 
         "epoch": "", 
         "cover_color": "#000000", 
         "title": "Child", 
         "cover": "", 
         "liked": null, 
         "slug": "child", 
         "epoch": "", 
-        "href": "https://example.com/api/books/child/", 
+        "href": "http://testserver/api/books/child/",
         "genre": "Wiersz", 
         "simple_thumb": "", 
         "has_audio": false, 
         "genre": "Wiersz", 
         "simple_thumb": "", 
         "has_audio": false, 
     "simple_cover": "", 
     "authors": [], 
     "audio_length": "", 
     "simple_cover": "", 
     "authors": [], 
     "audio_length": "", 
-    "epub": "", 
+    "epub": "http://testserver/media/epub/grandchild.epub",
     "cover_thumb": "", 
     "cover_thumb": "", 
-    "mobi": "", 
-    "url": "https://example.com/katalog/lektura/grandchild/", 
+    "mobi": "http://testserver/media/mobi/grandchild.mobi",
+    "url": "http://testserver/katalog/lektura/grandchild/",
     "cover": "", 
     "cover": "", 
-    "pdf": "", 
-    "simple_thumb": ""
+    "pdf": "http://testserver/media/pdf/grandchild.pdf",
+    "simple_thumb": "",
+    "translators": [],
+    "isbn_epub": null,
+    "isbn_mobi": null,
+    "isbn_pdf": null
 }
 }