Skip to content

NOW MANAGED ON CODEBERG

API examples: Updated books-read to include shelf info

Dan Brown60a3b0c0acb9
diff --git a/dev/api/responses/books-read.json b/dev/api/responses/books-read.json
index 582744f99..0c8ff473d 100644
--- a/dev/api/responses/books-read.json
+++ b/dev/api/responses/books-read.json
@@ -79,5 +79,17 @@
"path": "/uploads/images/cover_book/2020-01/sjovall_m117hUWMu40.jpg",
"type": "cover_book",
"uploaded_to": 16
- }
+ },
+ "shelves": [
+ {
+ "id": 1,
+ "name": "Great reads",
+ "slug": "great-reads"
+ },
+ {
+ "id": 5,
+ "name": "Personal Books",
+ "slug": "personal-books"
+ }
+ ]
}
\ No newline at end of file