2020-01-12 22:45:54 +08:00
|
|
|
{
|
|
|
|
"id": 16,
|
|
|
|
"name": "My own book",
|
|
|
|
"slug": "my-own-book",
|
|
|
|
"description": "This is my own little book",
|
2021-11-05 06:02:21 +08:00
|
|
|
"created_at": "2020-01-12T14:09:59.000000Z",
|
|
|
|
"updated_at": "2020-01-12T14:11:51.000000Z",
|
2020-01-12 22:45:54 +08:00
|
|
|
"created_by": {
|
|
|
|
"id": 1,
|
2020-05-23 07:28:41 +08:00
|
|
|
"name": "Admin"
|
2020-01-12 22:45:54 +08:00
|
|
|
},
|
|
|
|
"updated_by": {
|
|
|
|
"id": 1,
|
2020-05-23 07:28:41 +08:00
|
|
|
"name": "Admin"
|
2020-01-12 22:45:54 +08:00
|
|
|
},
|
2021-01-04 06:29:58 +08:00
|
|
|
"owned_by": {
|
|
|
|
"id": 1,
|
|
|
|
"name": "Admin"
|
|
|
|
},
|
2022-09-29 22:05:57 +08:00
|
|
|
"contents": [
|
|
|
|
{
|
|
|
|
"id": 50,
|
|
|
|
"name": "Bridge Structures",
|
|
|
|
"slug": "bridge-structures",
|
|
|
|
"book_id": 16,
|
|
|
|
"created_at": "2021-12-19T15:22:11.000000Z",
|
|
|
|
"updated_at": "2021-12-21T19:42:29.000000Z",
|
|
|
|
"url": "https://example.com/books/my-own-book/chapter/bridge-structures",
|
|
|
|
"type": "chapter",
|
|
|
|
"pages": [
|
|
|
|
{
|
|
|
|
"id": 42,
|
|
|
|
"name": "Building Bridges",
|
|
|
|
"slug": "building-bridges",
|
|
|
|
"book_id": 16,
|
|
|
|
"chapter_id": 50,
|
|
|
|
"draft": false,
|
|
|
|
"template": false,
|
|
|
|
"created_at": "2021-12-19T15:22:11.000000Z",
|
|
|
|
"updated_at": "2022-09-29T13:44:15.000000Z",
|
|
|
|
"url": "https://example.com/books/my-own-book/page/building-bridges"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 43,
|
|
|
|
"name": "Cool Animals",
|
|
|
|
"slug": "cool-animals",
|
|
|
|
"book_id": 16,
|
|
|
|
"chapter_id": 0,
|
|
|
|
"draft": false,
|
|
|
|
"template": false,
|
|
|
|
"created_at": "2021-12-19T18:22:11.000000Z",
|
|
|
|
"updated_at": "2022-07-29T13:44:15.000000Z",
|
|
|
|
"url": "https://example.com/books/my-own-book/page/cool-animals"
|
|
|
|
}
|
|
|
|
],
|
2020-01-12 22:45:54 +08:00
|
|
|
"tags": [
|
|
|
|
{
|
|
|
|
"id": 13,
|
|
|
|
"name": "Category",
|
|
|
|
"value": "Guide",
|
2020-11-28 23:21:54 +08:00
|
|
|
"order": 0
|
2020-01-12 22:45:54 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"cover": {
|
|
|
|
"id": 452,
|
|
|
|
"name": "sjovall_m117hUWMu40.jpg",
|
2022-09-29 22:05:57 +08:00
|
|
|
"url": "https://example.com/uploads/images/cover_book/2020-01/sjovall_m117hUWMu40.jpg",
|
2021-11-05 06:02:21 +08:00
|
|
|
"created_at": "2020-01-12T14:11:51.000000Z",
|
|
|
|
"updated_at": "2020-01-12T14:11:51.000000Z",
|
2020-01-12 22:45:54 +08:00
|
|
|
"created_by": 1,
|
|
|
|
"updated_by": 1,
|
2022-09-29 22:05:57 +08:00
|
|
|
"path": "/uploads/images/cover_book/2020-01/sjovall_m117hUWMu40.jpg",
|
2020-01-12 22:45:54 +08:00
|
|
|
"type": "cover_book",
|
|
|
|
"uploaded_to": 16
|
|
|
|
}
|
|
|
|
}
|