]> BookStack Code Mirror - bookstack/blob - dev/api/responses/chapters-read.json
respective book and chapter structure added.
[bookstack] / dev / api / responses / chapters-read.json
1 {
2   "id": 1,
3   "book_id": 1,
4   "slug": "content-creation",
5   "name": "Content Creation",
6   "description": "How to create documentation on whatever subject you need to write about.",
7   "description_html": "<p>How to create <strong>documentation</strong> on whatever subject you need to write about.</p>",
8   "default_template_id": 25,
9   "priority": 3,
10   "created_at": "2019-05-05T21:49:56.000000Z",
11   "updated_at": "2019-09-28T11:24:23.000000Z",
12   "created_by": {
13     "id": 1,
14     "name": "Admin",
15     "slug": "admin"
16   },
17   "updated_by": {
18     "id": 1,
19     "name": "Admin",
20     "slug": "admin"
21   },
22   "owned_by": {
23     "id": 1,
24     "name": "Admin",
25     "slug": "admin"
26   },
27   "book_slug": "example-book",
28   "tags": [
29     {
30       "name": "Category",
31       "value": "Guide",
32       "order": 0
33     }
34   ],
35   "pages": [
36     {
37       "id": 1,
38       "book_id": 1,
39       "chapter_id": 1,
40       "name": "How to create page content",
41       "slug": "how-to-create-page-content",
42       "priority": 0,
43       "created_at": "2019-05-05T21:49:58.000000Z",
44       "updated_at": "2019-08-26T14:32:59.000000Z",
45       "created_by": 1,
46       "updated_by": 1,
47       "owned_by": 1,
48       "draft": false,
49       "revision_count": 2,
50       "template": false,
51       "editor": "wysiwyg",
52       "book_slug": "example-book"
53     },
54     {
55       "id": 7,
56       "book_id": 1,
57       "chapter_id": 1,
58       "name": "Good book structure",
59       "slug": "good-book-structure",
60       "priority": 1,
61       "created_at": "2019-05-05T22:01:55.000000Z",
62       "updated_at": "2019-06-06T12:03:04.000000Z",
63       "created_by": 3,
64       "updated_by": 3,
65       "owned_by": 1,
66       "draft": false,
67       "revision_count": 1,
68       "template": false,
69       "editor": "wysiwyg",
70       "book_slug": "example-book"
71     }
72   ]
73 }