]> BookStack Code Mirror - bookstack/blob - dev/api/responses/pages-read.json
Opensearch: Fixed XML declaration when php short tags enabled
[bookstack] / dev / api / responses / pages-read.json
1 {
2         "id": 306,
3         "book_id": 1,
4         "chapter_id": 0,
5         "name": "A page written in markdown",
6         "slug": "a-page-written-in-markdown",
7         "html": "<h1 id=\"bkmrk-this-is-my-cool-page\">This is my cool page! With some included text</h1>",
8         "raw_html": "<h1 id=\"bkmrk-this-is-my-cool-page\">This is my cool page! {{@1#bkmrk-a}}</h1>",
9         "priority": 13,
10         "created_at": "2020-02-02T21:40:38.000000Z",
11         "updated_at": "2020-11-28T14:43:20.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         "draft": false,
28         "markdown": "# How this is built\r\n\r\nThis page is written in markdown. BookStack stores the page data in HTML.\r\n\r\nHere's a cute picture of my cat:\r\n\r\n[![yXSrubes.jpg](http://example.com/uploads/images/gallery/2020-04/scaled-1680-/yXSrubes.jpg)](http://example.com/uploads/images/gallery/2020-04/yXSrubes.jpg)",
29         "revision_count": 5,
30         "template": false,
31         "editor": "wysiwyg",
32         "tags": [
33                 {
34                         "name": "Category",
35                         "value": "Top Content",
36                         "order": 0
37                 },
38                 {
39                         "name": "Animal",
40                         "value": "Cat",
41                         "order": 1
42                 }
43         ]
44 }