]> BookStack Code Mirror - bookstack/blob - dev/api/responses/chapters-create.json
Added chapters to the API
[bookstack] / dev / api / responses / chapters-create.json
1 {
2   "book_id": 1,
3   "priority": 6,
4   "name": "My fantastic new chapter",
5   "description": "This is a great new chapter that I've created via the API",
6   "created_by": 1,
7   "updated_by": 1,
8   "slug": "my-fantastic-new-chapter",
9   "updated_at": "2020-05-22 22:59:55",
10   "created_at": "2020-05-22 22:59:55",
11   "id": 74,
12   "book": {
13     "id": 1,
14     "name": "BookStack User Guide",
15     "slug": "bookstack-user-guide",
16     "description": "This is a general guide on using BookStack on a day-to-day basis.",
17     "created_at": "2019-05-05 21:48:46",
18     "updated_at": "2019-12-11 20:57:31",
19     "created_by": 1,
20     "updated_by": 1
21   },
22   "tags": [
23     {
24       "name": "Category",
25       "value": "Top Content",
26       "order": 0,
27       "created_at": "2020-05-22 22:59:55",
28       "updated_at": "2020-05-22 22:59:55"
29     },
30     {
31       "name": "Rating",
32       "value": "Highest",
33       "order": 0,
34       "created_at": "2020-05-22 22:59:55",
35       "updated_at": "2020-05-22 22:59:55"
36     }
37   ]
38 }