More API testing.
[wolnelektury.git] / src / api / tests / res / responses / fragment.json
diff --git a/src/api/tests/res/responses/fragment.json b/src/api/tests/res/responses/fragment.json
new file mode 100644 (file)
index 0000000..40db3f4
--- /dev/null
@@ -0,0 +1,30 @@
+{
+    "url": "https://example.com/katalog/lektura/child.html#man-anchor", 
+    "text": "A fragment", 
+    "book": {
+        "kind": "", 
+        "full_sort_key": "$child$2", 
+        "author": "", 
+        "url": "https://example.com/katalog/lektura/child/", 
+        "cover_color": "#000000", 
+        "title": "Child", 
+        "cover": "", 
+        "liked": null, 
+        "slug": "child", 
+        "epoch": "", 
+        "href": "https://example.com/api/books/child/", 
+        "genre": "Wiersz", 
+        "simple_thumb": "", 
+        "has_audio": false, 
+        "cover_thumb": ""
+    }, 
+    "anchor": "an-anchor", 
+    "themes": [
+        {
+            "url": "https://example.com/katalog/motyw/koniec/", 
+            "href": "https://example.com/api/themes/koniec/", 
+            "name": "Koniec", 
+            "slug": "koniec"
+        }
+    ]
+}