mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04: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.
39 lines
662 B
JSON
39 lines
662 B
JSON
{
|
|
"id": 361,
|
|
"book_id": 1,
|
|
"chapter_id": 1,
|
|
"name": "My updated API Page",
|
|
"slug": "my-updated-api-page",
|
|
"html": "<p id=\"bkmrk-my-new-api-page---up\">my new API page - Updated</p>",
|
|
"priority": 16,
|
|
"created_at": "2020-11-28 15:10:54",
|
|
"updated_at": "2020-11-28 15:13:03",
|
|
"created_by": {
|
|
"id": 1,
|
|
"name": "Admin"
|
|
},
|
|
"updated_by": {
|
|
"id": 1,
|
|
"name": "Admin"
|
|
},
|
|
"owned_by": {
|
|
"id": 1,
|
|
"name": "Admin"
|
|
},
|
|
"draft": false,
|
|
"markdown": "",
|
|
"revision_count": 5,
|
|
"template": false,
|
|
"tags": [
|
|
{
|
|
"name": "Category",
|
|
"value": "API Examples",
|
|
"order": 0
|
|
},
|
|
{
|
|
"name": "Rating",
|
|
"value": "Alright",
|
|
"order": 0
|
|
}
|
|
]
|
|
} |