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
634 B
JSON
39 lines
634 B
JSON
{
|
|
"id": 358,
|
|
"book_id": 1,
|
|
"chapter_id": 0,
|
|
"name": "My API Page",
|
|
"slug": "my-api-page",
|
|
"html": "<p id=\"bkmrk-my-new-api-page\">my new API page</p>",
|
|
"priority": 14,
|
|
"created_at": "2020-11-28 15:01:39",
|
|
"updated_at": "2020-11-28 15:01:39",
|
|
"created_by": {
|
|
"id": 1,
|
|
"name": "Admin"
|
|
},
|
|
"updated_by": {
|
|
"id": 1,
|
|
"name": "Admin"
|
|
},
|
|
"owned_by": {
|
|
"id": 1,
|
|
"name": "Admin"
|
|
},
|
|
"draft": false,
|
|
"markdown": "",
|
|
"revision_count": 1,
|
|
"template": false,
|
|
"tags": [
|
|
{
|
|
"name": "Category",
|
|
"value": "Not Bad Content",
|
|
"order": 0
|
|
},
|
|
{
|
|
"name": "Rating",
|
|
"value": "Average",
|
|
"order": 1
|
|
}
|
|
]
|
|
} |