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