Using Piston auth in DRF views. Replacing API views.
[wolnelektury.git] / src / api / tests / res / responses / books.json
1 [
2     {
3         "kind": "", 
4         "full_sort_key": "$child$2", 
5         "cover_color": "#000000", 
6         "author": "", 
7         "url": "https://example.com/katalog/lektura/child/", 
8         "has_audio": false, 
9         "title": "Child", 
10         "cover": "", 
11         "epoch": "", 
12         "href": "https://example.com/api/books/child/", 
13         "genre": "Wiersz", 
14         "simple_thumb": "", 
15         "slug": "child", 
16         "cover_thumb": ""
17     }, 
18     {
19         "kind": "", 
20         "full_sort_key": "$grandchild$3", 
21         "cover_color": "#000000", 
22         "author": "", 
23         "url": "https://example.com/katalog/lektura/grandchild/", 
24         "has_audio": false, 
25         "title": "Grandchild", 
26         "cover": "", 
27         "epoch": "", 
28         "href": "https://example.com/api/books/grandchild/", 
29         "genre": "Sonet", 
30         "simple_thumb": "", 
31         "slug": "grandchild", 
32         "cover_thumb": ""
33     }, 
34     {
35         "kind": "Liryka", 
36         "full_sort_key": "john doe$parent$1", 
37         "cover_color": "#a6820a", 
38         "author": "John Doe", 
39         "url": "https://example.com/katalog/lektura/parent/", 
40         "has_audio": true, 
41         "title": "Parent", 
42         "cover": "cover/parent.jpg", 
43         "epoch": "Barok", 
44         "href": "https://example.com/api/books/parent/", 
45         "genre": "Sonet", 
46         "simple_thumb": "https://example.com/media/cover_api_thumb/parent.jpg", 
47         "slug": "parent", 
48         "cover_thumb": "https://example.com/media/cover/parent.jpg-139x193"
49     }
50 ]