]> BookStack Code Mirror - bookstack/blob - dev/api/responses/search-all.json
Eager loading for titles
[bookstack] / dev / api / responses / search-all.json
1 {
2   "data": [
3     {
4       "id": 84,
5       "book_id": 1,
6       "slug": "a-chapter-for-cats",
7       "name": "A chapter for cats",
8       "created_at": "2021-11-14T15:57:35.000000Z",
9       "updated_at": "2021-11-14T15:57:35.000000Z",
10       "type": "chapter",
11       "url": "https://example.com/books/my-book/chapter/a-chapter-for-cats",
12       "book_title": "Cats",
13       "preview_html": {
14         "name": "A chapter for <strong>cats</strong>",
15         "content": "...once a bunch of <strong>cats</strong> named tony...behaviour of <strong>cats</strong> is unsuitable"
16       },
17       "tags": []
18     },
19     {
20       "name": "The hows and whys of cats",
21       "id": 396,
22       "slug": "the-hows-and-whys-of-cats",
23       "book_id": 1,
24       "chapter_id": 75,
25       "draft": false,
26       "template": false,
27       "created_at": "2021-05-15T16:28:10.000000Z",
28       "updated_at": "2021-11-14T15:56:49.000000Z",
29       "type": "page",
30       "url": "https://example.com/books/my-book/page/the-hows-and-whys-of-cats",
31       "book_title": "Cats",
32       "chapter_title": "A chapter for cats",
33       "preview_html": {
34         "name": "The hows and whys of <strong>cats</strong>",
35         "content": "...people ask why <strong>cats</strong>? but there are...the reason that <strong>cats</strong> are fast are due to..."
36       },
37       "tags": [
38         {
39           "name": "Animal",
40           "value": "Cat",
41           "order": 0
42         },
43         {
44           "name": "Category",
45           "value": "Top Content",
46           "order": 0
47         }
48       ]
49     },
50     {
51       "name": "How advanced are cats?",
52       "id": 362,
53       "slug": "how-advanced-are-cats",
54       "book_id": 13,
55       "chapter_id": 73,
56       "draft": false,
57       "template": false,
58       "created_at": "2020-11-29T21:55:07.000000Z",
59       "updated_at": "2021-11-14T16:02:39.000000Z",
60       "type": "page",
61       "url": "https://example.com/books/my-book/page/how-advanced-are-cats",
62       "book_title": "Cats",
63       "chapter_title": "A chapter for cats",
64       "preview_html": {
65         "name": "How advanced are <strong>cats</strong>?",
66         "content": "<strong>cats</strong> are some of the most advanced animals in the world."
67       },
68       "tags": []
69     }
70   ],
71   "total": 3
72 }