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
No EOL
1,001 B
JSON
39 lines
No EOL
1,001 B
JSON
{
|
|
"book_id": 1,
|
|
"priority": 6,
|
|
"name": "My fantastic new chapter",
|
|
"description": "This is a great new chapter that I've created via the API",
|
|
"created_by": 1,
|
|
"updated_by": 1,
|
|
"owned_by": 1,
|
|
"slug": "my-fantastic-new-chapter",
|
|
"updated_at": "2020-05-22 22:59:55",
|
|
"created_at": "2020-05-22 22:59:55",
|
|
"id": 74,
|
|
"book": {
|
|
"id": 1,
|
|
"name": "BookStack User Guide",
|
|
"slug": "bookstack-user-guide",
|
|
"description": "This is a general guide on using BookStack on a day-to-day basis.",
|
|
"created_at": "2019-05-05 21:48:46",
|
|
"updated_at": "2019-12-11 20:57:31",
|
|
"created_by": 1,
|
|
"updated_by": 1
|
|
},
|
|
"tags": [
|
|
{
|
|
"name": "Category",
|
|
"value": "Top Content",
|
|
"order": 0,
|
|
"created_at": "2020-05-22 22:59:55",
|
|
"updated_at": "2020-05-22 22:59:55"
|
|
},
|
|
{
|
|
"name": "Rating",
|
|
"value": "Highest",
|
|
"order": 0,
|
|
"created_at": "2020-05-22 22:59:55",
|
|
"updated_at": "2020-05-22 22:59:55"
|
|
}
|
|
]
|
|
} |