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