fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using Piston auth in DRF views. Replacing API views.
[wolnelektury.git]
/
src
/
api
/
tests
/
res
/
responses
/
ebooks.json
diff --git
a/src/api/tests/res/responses/ebooks.json
b/src/api/tests/res/responses/ebooks.json
index
70084ef
..
9c4659a
100644
(file)
--- a/
src/api/tests/res/responses/ebooks.json
+++ b/
src/api/tests/res/responses/ebooks.json
@@
-2,6
+2,7
@@
{
"fb2": "",
"mobi": "",
{
"fb2": "",
"mobi": "",
+ "title": "Child",
"author": "",
"cover": "",
"href": "https://example.com/api/books/child/",
"author": "",
"cover": "",
"href": "https://example.com/api/books/child/",
@@
-11,19
+12,21
@@
"epub": ""
},
{
"epub": ""
},
{
- "fb2": "https://example.com/media/fb2/grandchild.fb2",
- "mobi": "",
+ "fb2": "https://example.com/katalog/pobierz/grandchild.fb2",
+ "mobi": "https://example.com/katalog/pobierz/grandchild.mobi",
+ "title": "Grandchild",
"author": "",
"cover": "",
"href": "https://example.com/api/books/grandchild/",
"author": "",
"cover": "",
"href": "https://example.com/api/books/grandchild/",
- "pdf": "",
- "txt": "https://example.com/
media/txt
/grandchild.txt",
+ "pdf": "
https://example.com/katalog/pobierz/grandchild.pdf
",
+ "txt": "https://example.com/
katalog/pobierz
/grandchild.txt",
"slug": "grandchild",
"slug": "grandchild",
- "epub": ""
+ "epub": "
https://example.com/katalog/pobierz/grandchild.epub
"
},
{
"fb2": "",
"mobi": "https://example.com/media/mobi/parent.mobi",
},
{
"fb2": "",
"mobi": "https://example.com/media/mobi/parent.mobi",
+ "title": "Parent",
"author": "John Doe",
"cover": "cover/parent.jpg",
"href": "https://example.com/api/books/parent/",
"author": "John Doe",
"cover": "cover/parent.jpg",
"href": "https://example.com/api/books/parent/",