Fixes and experiments.
[wolnelektury.git] / src / api / tests / res / responses / books-parent.json
1 {
2     "epochs": [
3         {
4             "url": "http://testserver/katalog/epoka/barok/",
5             "href": "http://testserver/api/epochs/barok/",
6             "name": "Barok", 
7             "slug": "barok"
8         }
9     ], 
10     "fragment_data": null, 
11     "txt": "", 
12     "children": [
13         {
14             "kind": "", 
15             "full_sort_key": "$child$2", 
16             "author": "", 
17             "url": "http://testserver/katalog/lektura/child/",
18             "cover_color": "#000000", 
19             "title": "Child", 
20             "cover": "", 
21             "liked": null, 
22             "slug": "child", 
23             "epoch": "", 
24             "href": "http://testserver/api/books/child/",
25             "genre": "Wiersz", 
26             "simple_thumb": "", 
27             "has_audio": false, 
28             "cover_thumb": ""
29         }
30     ], 
31     "xml": "http://testserver/media/xml/parent.xml",
32     "genres": [
33         {
34             "url": "http://testserver/katalog/gatunek/sonet/",
35             "href": "http://testserver/api/genres/sonet/",
36             "name": "Sonet", 
37             "slug": "sonet"
38         }
39     ], 
40     "title": "Parent", 
41     "media": [
42         {
43             "url": "http://testserver/media/daisy/parent.daisy",
44             "director": "", 
45             "type": "daisy", 
46             "name": "Parent DAISY", 
47             "artist": ""
48         }, 
49         {
50             "url": "http://testserver/media/mp3/parent.mp3",
51             "director": "Director", 
52             "type": "mp3", 
53             "name": "Parent Audiobook", 
54             "artist": "Artist"
55         }
56     ], 
57     "html": "", 
58     "preview": false, 
59     "fb2": "", 
60     "kinds": [
61         {
62             "url": "http://testserver/katalog/rodzaj/liryka/",
63             "href": "http://testserver/api/kinds/liryka/",
64             "name": "Liryka", 
65             "slug": "liryka"
66         }
67     ], 
68     "language": "pol",
69     "parent": null, 
70     "cover_color": "#a6820a", 
71     "simple_cover": "http://testserver/media/simple_cover/parent.jpg",
72     "authors": [
73         {
74             "url": "http://testserver/katalog/autor/john-doe/",
75             "href": "http://testserver/api/authors/john-doe/",
76             "name": "John Doe", 
77             "slug": "john-doe"
78         }
79     ], 
80     "translators": [],
81     "audio_length": "1:00", 
82     "epub": "http://testserver/media/epub/parent.epub",
83     "cover_thumb": "http://testserver/media/cover/parent.jpg-139x193",
84     "mobi": "http://testserver/media/mobi/parent.mobi",
85     "url": "http://testserver/katalog/lektura/parent/",
86     "cover": "http://testserver/media/cover/parent.jpg",
87     "pdf": "http://testserver/media/pdf/parent.pdf",
88     "simple_thumb": "http://testserver/media/cover_api_thumb/parent.jpg",
89     "isbn_epub": null,
90     "isbn_mobi": null,
91     "isbn_pdf": null
92 }