Merge remote-tracking branch 'zawadzki/new-design'
[wolnelektury.git] / src / api / tests / res / responses / books-child.json
index 4c5c134..b3155e6 100644 (file)
             "kind": "", 
             "full_sort_key": "$grandchild$3", 
             "author": "", 
             "kind": "", 
             "full_sort_key": "$grandchild$3", 
             "author": "", 
-            "url": "https://example.com/katalog/lektura/grandchild/", 
+            "url": "http://testserver/katalog/lektura/grandchild/",
             "cover_color": "#000000", 
             "title": "Grandchild", 
             "cover": "", 
             "liked": null, 
             "slug": "grandchild", 
             "epoch": "", 
             "cover_color": "#000000", 
             "title": "Grandchild", 
             "cover": "", 
             "liked": null, 
             "slug": "grandchild", 
             "epoch": "", 
-            "href": "https://example.com/api/books/grandchild/", 
+            "href": "http://testserver/api/books/grandchild/",
             "genre": "Sonet", 
             "simple_thumb": "", 
             "has_audio": false, 
             "cover_thumb": ""
         }
     ], 
             "genre": "Sonet", 
             "simple_thumb": "", 
             "has_audio": false, 
             "cover_thumb": ""
         }
     ], 
-    "xml": "", 
+    "xml": null,
     "genres": [
         {
     "genres": [
         {
-            "url": "https://example.com/katalog/gatunek/wiersz/", 
-            "href": "https://example.com/api/genres/wiersz/", 
+            "url": "http://testserver/katalog/gatunek/wiersz/",
+            "href": "http://testserver/api/genres/wiersz/",
             "name": "Wiersz", 
             "slug": "wiersz"
         }
             "name": "Wiersz", 
             "slug": "wiersz"
         }
     "preview": false, 
     "fb2": "", 
     "kinds": [], 
     "preview": false, 
     "fb2": "", 
     "kinds": [], 
+    "language": "pol",
     "parent": {
         "kind": "Liryka", 
         "full_sort_key": "john doe$parent$1", 
         "author": "John Doe", 
     "parent": {
         "kind": "Liryka", 
         "full_sort_key": "john doe$parent$1", 
         "author": "John Doe", 
-        "url": "https://example.com/katalog/lektura/parent/", 
+        "url": "http://testserver/katalog/lektura/parent/",
         "cover_color": "#a6820a", 
         "title": "Parent", 
         "cover_color": "#a6820a", 
         "title": "Parent", 
-        "cover": "https://example.com/media/cover/parent.jpg", 
+        "cover": "http://testserver/media/cover/parent.jpg",
         "liked": null, 
         "slug": "parent", 
         "epoch": "Barok", 
         "liked": null, 
         "slug": "parent", 
         "epoch": "Barok", 
-        "href": "https://example.com/api/books/parent/", 
+        "href": "http://testserver/api/books/parent/",
         "genre": "Sonet", 
         "genre": "Sonet", 
-        "simple_thumb": "https://example.com/media/cover_api_thumb/parent.jpg", 
+        "simple_thumb": "http://testserver/media/cover_api_thumb/parent.jpg",
         "has_audio": true, 
         "has_audio": true, 
-        "cover_thumb": "https://example.com/media/cover/parent.jpg-139x193"
+        "cover_thumb": "http://testserver/media/cover/parent.jpg-139x193"
     }, 
     "cover_color": "#000000", 
     "simple_cover": "", 
     }, 
     "cover_color": "#000000", 
     "simple_cover": "", 
     "epub": "", 
     "cover_thumb": "", 
     "mobi": "", 
     "epub": "", 
     "cover_thumb": "", 
     "mobi": "", 
-    "url": "https://example.com/katalog/lektura/child/", 
+    "url": "http://testserver/katalog/lektura/child/",
     "cover": "", 
     "pdf": "", 
     "cover": "", 
     "pdf": "", 
-    "simple_thumb": ""
+    "simple_thumb": "",
+    "translators": [],
+    "isbn_epub": null,
+    "isbn_mobi": null,
+    "isbn_pdf": null
+
 }
 }