Necessary rounding.
[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     "parent": null, 
69     "cover_color": "#a6820a", 
70     "simple_cover": "http://testserver/media/simple_cover/parent.jpg",
71     "authors": [
72         {
73             "url": "http://testserver/katalog/autor/john-doe/",
74             "href": "http://testserver/api/authors/john-doe/",
75             "name": "John Doe", 
76             "slug": "john-doe"
77         }
78     ], 
79     "audio_length": "1:00", 
80     "epub": "http://testserver/media/epub/parent.epub",
81     "cover_thumb": "http://testserver/media/cover/parent.jpg-139x193",
82     "mobi": "http://testserver/media/mobi/parent.mobi",
83     "url": "http://testserver/katalog/lektura/parent/",
84     "cover": "http://testserver/media/cover/parent.jpg",
85     "pdf": "http://testserver/media/pdf/parent.pdf",
86     "simple_thumb": "http://testserver/media/cover_api_thumb/parent.jpg"
87 }