More API testing.
[wolnelektury.git] / src / api / tests / res / responses / books-parent.json
1 {
2     "epochs": [
3         {
4             "url": "https://example.com/katalog/epoka/barok/", 
5             "href": "https://example.com/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": "https://example.com/katalog/lektura/child/", 
18             "cover_color": "#000000", 
19             "title": "Child", 
20             "cover": "", 
21             "liked": null, 
22             "slug": "child", 
23             "epoch": "", 
24             "href": "https://example.com/api/books/child/", 
25             "genre": "Wiersz", 
26             "simple_thumb": "", 
27             "has_audio": false, 
28             "cover_thumb": ""
29         }
30     ], 
31     "xml": "https://example.com/media/xml/parent.xml", 
32     "genres": [
33         {
34             "url": "https://example.com/katalog/gatunek/sonet/", 
35             "href": "https://example.com/api/genres/sonet/", 
36             "name": "Sonet", 
37             "slug": "sonet"
38         }
39     ], 
40     "title": "Parent", 
41     "media": [
42         {
43             "url": "https://example.com/media/daisy/parent.daisy", 
44             "director": "", 
45             "type": "daisy", 
46             "name": "Parent DAISY", 
47             "artist": ""
48         }, 
49         {
50             "url": "https://example.com/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": "https://example.com/katalog/rodzaj/liryka/", 
63             "href": "https://example.com/api/kinds/liryka/", 
64             "name": "Liryka", 
65             "slug": "liryka"
66         }
67     ], 
68     "parent": null, 
69     "cover_color": "#a6820a", 
70     "simple_cover": "https://example.com/media/simple_cover/parent.jpg", 
71     "authors": [
72         {
73             "url": "https://example.com/katalog/autor/john-doe/", 
74             "href": "https://example.com/api/authors/john-doe/", 
75             "name": "John Doe", 
76             "slug": "john-doe"
77         }
78     ], 
79     "audio_length": "1:00", 
80     "epub": "https://example.com/media/epub/parent.epub", 
81     "cover_thumb": "https://example.com/media/cover/parent.jpg-139x193", 
82     "mobi": "https://example.com/media/mobi/parent.mobi", 
83     "url": "https://example.com/katalog/lektura/parent/", 
84     "cover": "https://example.com/media/cover/parent.jpg", 
85     "pdf": "https://example.com/media/pdf/parent.pdf", 
86     "simple_thumb": "https://example.com/media/cover_api_thumb/parent.jpg"
87 }