mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-02 23:40:04 +00:00
Made fixes/updates during pre-release review
- 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.
This commit is contained in:
parent
8bb6394b47
commit
14ea6c9de3
27 changed files with 71 additions and 18 deletions
|
@ -3,6 +3,7 @@
|
|||
"description": "This is a book created via the API",
|
||||
"created_by": 1,
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"slug": "my-new-book",
|
||||
"updated_at": "2020-01-12 14:05:11",
|
||||
"created_at": "2020-01-12 14:05:11",
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
"updated_at": "2019-12-11 20:57:31",
|
||||
"created_by": 1,
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"image_id": 3
|
||||
},
|
||||
{
|
||||
|
@ -20,6 +21,7 @@
|
|||
"updated_at": "2019-12-11 20:57:23",
|
||||
"created_by": 4,
|
||||
"updated_by": 3,
|
||||
"owned_by": 3,
|
||||
"image_id": 34
|
||||
}
|
||||
],
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"owned_by": {
|
||||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"id": 13,
|
||||
|
|
|
@ -7,5 +7,6 @@
|
|||
"updated_at": "2020-01-12 14:16:10",
|
||||
"created_by": 1,
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"image_id": 452
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
"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",
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
"created_at": "2019-05-05 21:49:56",
|
||||
"updated_at": "2019-09-28 11:24:23",
|
||||
"created_by": 1,
|
||||
"updated_by": 1
|
||||
"updated_by": 1,
|
||||
"owned_by": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
|
@ -22,7 +23,8 @@
|
|||
"created_at": "2019-05-05 21:58:07",
|
||||
"updated_at": "2019-10-17 15:05:34",
|
||||
"created_by": 3,
|
||||
"updated_by": 3
|
||||
"updated_by": 3,
|
||||
"owned_by": 3
|
||||
}
|
||||
],
|
||||
"total": 40
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"owned_by": {
|
||||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "Category",
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
"updated_at": "2020-05-22 23:07:20",
|
||||
"created_by": 1,
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"book": {
|
||||
"id": 1,
|
||||
"name": "BookStack User Guide",
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"owned_by": {
|
||||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"draft": false,
|
||||
"markdown": "",
|
||||
"revision_count": 1,
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
"created_at": "2019-05-05 21:49:58",
|
||||
"updated_at": "2020-07-04 15:50:58",
|
||||
"created_by": 1,
|
||||
"updated_by": 1
|
||||
"updated_by": 1,
|
||||
"owned_by": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
|
@ -26,7 +27,8 @@
|
|||
"created_at": "2019-05-05 21:53:30",
|
||||
"updated_at": "2019-06-06 12:03:04",
|
||||
"created_by": 1,
|
||||
"updated_by": 1
|
||||
"updated_by": 1,
|
||||
"owned_by": 1
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
|
@ -40,7 +42,8 @@
|
|||
"created_at": "2019-05-05 21:53:49",
|
||||
"updated_at": "2019-12-18 21:56:52",
|
||||
"created_by": 1,
|
||||
"updated_by": 1
|
||||
"updated_by": 1,
|
||||
"owned_by": 1
|
||||
}
|
||||
],
|
||||
"total": 322
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"owned_by": {
|
||||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"draft": false,
|
||||
"markdown": "# How this is built\r\n\r\nThis page is written in markdown. BookStack stores the page data in HTML.\r\n\r\nHere's a cute picture of my cat:\r\n\r\n[](http://example.com/uploads/images/gallery/2020-04/yXSrubes.jpg)",
|
||||
"revision_count": 5,
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"owned_by": {
|
||||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"draft": false,
|
||||
"markdown": "",
|
||||
"revision_count": 5,
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"description": "This is my shelf with some books",
|
||||
"created_by": 1,
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"slug": "my-shelf",
|
||||
"updated_at": "2020-04-10 13:24:09",
|
||||
"created_at": "2020-04-10 13:24:09",
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
"updated_at": "2020-04-10 13:00:45",
|
||||
"created_by": 4,
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"image_id": 31
|
||||
},
|
||||
{
|
||||
|
@ -20,6 +21,7 @@
|
|||
"updated_at": "2020-04-10 13:00:58",
|
||||
"created_by": 4,
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"image_id": 28
|
||||
},
|
||||
{
|
||||
|
@ -31,6 +33,7 @@
|
|||
"updated_at": "2020-04-10 13:00:53",
|
||||
"created_by": 4,
|
||||
"updated_by": 1,
|
||||
"owned_by": 4,
|
||||
"image_id": 30
|
||||
}
|
||||
],
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"owned_by": {
|
||||
"id": 1,
|
||||
"name": "Admin"
|
||||
},
|
||||
"created_at": "2020-04-10 13:24:09",
|
||||
"updated_at": "2020-04-10 13:31:04",
|
||||
"tags": [
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"description": "This is my update shelf with some books",
|
||||
"created_by": 1,
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"image_id": 501,
|
||||
"created_at": "2020-04-10 13:24:09",
|
||||
"updated_at": "2020-04-10 13:48:22"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue