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.
50 lines
1008 B
JSON
50 lines
1008 B
JSON
{
|
|
"data": [
|
|
{
|
|
"id": 1,
|
|
"book_id": 1,
|
|
"chapter_id": 1,
|
|
"name": "How to create page content",
|
|
"slug": "how-to-create-page-content",
|
|
"priority": 0,
|
|
"draft": false,
|
|
"template": false,
|
|
"created_at": "2019-05-05 21:49:58",
|
|
"updated_at": "2020-07-04 15:50:58",
|
|
"created_by": 1,
|
|
"updated_by": 1,
|
|
"owned_by": 1
|
|
},
|
|
{
|
|
"id": 2,
|
|
"book_id": 1,
|
|
"chapter_id": 1,
|
|
"name": "How to use images",
|
|
"slug": "how-to-use-images",
|
|
"priority": 2,
|
|
"draft": false,
|
|
"template": false,
|
|
"created_at": "2019-05-05 21:53:30",
|
|
"updated_at": "2019-06-06 12:03:04",
|
|
"created_by": 1,
|
|
"updated_by": 1,
|
|
"owned_by": 1
|
|
},
|
|
{
|
|
"id": 3,
|
|
"book_id": 1,
|
|
"chapter_id": 1,
|
|
"name": "Drawings via draw.io",
|
|
"slug": "drawings-via-drawio",
|
|
"priority": 3,
|
|
"draft": false,
|
|
"template": false,
|
|
"created_at": "2019-05-05 21:53:49",
|
|
"updated_at": "2019-12-18 21:56:52",
|
|
"created_by": 1,
|
|
"updated_by": 1,
|
|
"owned_by": 1
|
|
}
|
|
],
|
|
"total": 322
|
|
} |