mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-30 15:42:41 +01:00
14ea6c9de3
- Fixed page editor default focus not working as expected due to misnamed attribute. - Added owned_by to relevant areas of the API including the docs. - Made book relation on page accessible even if deleted since it could cause an issue on views, such as audit trail, when the relation is accessed when the book is deleted.
61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"id": 1,
|
|
"book_id": 1,
|
|
"slug": "content-creation",
|
|
"name": "Content Creation",
|
|
"description": "How to create documentation on whatever subject you need to write about.",
|
|
"priority": 3,
|
|
"created_at": "2019-05-05 21:49:56",
|
|
"updated_at": "2019-09-28 11:24:23",
|
|
"created_by": {
|
|
"id": 1,
|
|
"name": "Admin"
|
|
},
|
|
"updated_by": {
|
|
"id": 1,
|
|
"name": "Admin"
|
|
},
|
|
"owned_by": {
|
|
"id": 1,
|
|
"name": "Admin"
|
|
},
|
|
"tags": [
|
|
{
|
|
"name": "Category",
|
|
"value": "Guide",
|
|
"order": 0
|
|
}
|
|
],
|
|
"pages": [
|
|
{
|
|
"id": 1,
|
|
"book_id": 1,
|
|
"chapter_id": 1,
|
|
"name": "How to create page content",
|
|
"slug": "how-to-create-page-content",
|
|
"priority": 0,
|
|
"created_at": "2019-05-05 21:49:58",
|
|
"updated_at": "2019-08-26 14:32:59",
|
|
"created_by": 1,
|
|
"updated_by": 1,
|
|
"draft": false,
|
|
"revision_count": 2,
|
|
"template": false
|
|
},
|
|
{
|
|
"id": 7,
|
|
"book_id": 1,
|
|
"chapter_id": 1,
|
|
"name": "Good book structure",
|
|
"slug": "good-book-structure",
|
|
"priority": 1,
|
|
"created_at": "2019-05-05 22:01:55",
|
|
"updated_at": "2019-06-06 12:03:04",
|
|
"created_by": 3,
|
|
"updated_by": 3,
|
|
"draft": false,
|
|
"revision_count": 1,
|
|
"template": false
|
|
}
|
|
]
|
|
} |