]> BookStack Code Mirror - bookstack/blob - dev/api/responses/books-read.json
WYSWIYG: Allowed video/embed alignment controls
[bookstack] / dev / api / responses / books-read.json
1 {
2   "id": 16,
3   "name": "My own book",
4   "slug": "my-own-book",
5   "description": "This is my own little book",
6   "created_at": "2020-01-12T14:09:59.000000Z",
7   "updated_at": "2020-01-12T14:11:51.000000Z",
8   "created_by": {
9     "id": 1,
10     "name": "Admin",
11     "slug": "admin"
12   },
13   "updated_by": {
14     "id": 1,
15     "name": "Admin",
16     "slug": "admin"
17   },
18   "owned_by": {
19     "id": 1,
20     "name": "Admin",
21     "slug": "admin"
22   },
23   "default_template_id": null,
24   "contents": [
25     {
26       "id": 50,
27       "name": "Bridge Structures",
28       "slug": "bridge-structures",
29       "book_id": 16,
30       "created_at": "2021-12-19T15:22:11.000000Z",
31       "updated_at": "2021-12-21T19:42:29.000000Z",
32       "url": "https://example.com/books/my-own-book/chapter/bridge-structures",
33       "type": "chapter",
34       "pages": [
35         {
36           "id": 42,
37           "name": "Building Bridges",
38           "slug": "building-bridges",
39           "book_id": 16,
40           "chapter_id": 50,
41           "draft": false,
42           "template": false,
43           "created_at": "2021-12-19T15:22:11.000000Z",
44           "updated_at": "2022-09-29T13:44:15.000000Z",
45           "url": "https://example.com/books/my-own-book/page/building-bridges"
46         }
47       ]
48     },
49     {
50       "id": 43,
51       "name": "Cool Animals",
52       "slug": "cool-animals",
53       "book_id": 16,
54       "chapter_id": 0,
55       "draft": false,
56       "template": false,
57       "created_at": "2021-12-19T18:22:11.000000Z",
58       "updated_at": "2022-07-29T13:44:15.000000Z",
59       "url": "https://example.com/books/my-own-book/page/cool-animals",
60       "type": "page"
61     }
62   ],
63   "tags": [
64     {
65       "name": "Category",
66       "value": "Guide",
67       "order": 0
68     }
69   ],
70   "cover": {
71     "id": 452,
72     "name": "sjovall_m117hUWMu40.jpg",
73     "url": "https://example.com/uploads/images/cover_book/2020-01/sjovall_m117hUWMu40.jpg",
74     "created_at": "2020-01-12T14:11:51.000000Z",
75     "updated_at": "2020-01-12T14:11:51.000000Z",
76     "created_by": 1,
77     "updated_by": 1,
78     "path": "/uploads/images/cover_book/2020-01/sjovall_m117hUWMu40.jpg",
79     "type": "cover_book",
80     "uploaded_to": 16
81   }
82 }