mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-13 22:43:39 +08:00
ccfe38e963
Remove the book attribute in responses because it is never returned by the API. Currently, Chapters Create does not return book_slug! (The example response is consistent with the inconsistent API behavior)
33 lines
939 B
JSON
33 lines
939 B
JSON
{
|
|
"data": [
|
|
{
|
|
"id": 1,
|
|
"book_id": 1,
|
|
"name": "Content Creation",
|
|
"slug": "content-creation",
|
|
"description": "How to create documentation on whatever subject you need to write about.",
|
|
"priority": 3,
|
|
"created_at": "2019-05-05T21:49:56.000000Z",
|
|
"updated_at": "2019-09-28T11:24:23.000000Z",
|
|
"created_by": 1,
|
|
"updated_by": 1,
|
|
"owned_by": 1,
|
|
"book_slug": "example-book"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"book_id": 1,
|
|
"name": "Managing Content",
|
|
"slug": "managing-content",
|
|
"description": "How to keep things organised and orderly in the system for easier navigation and better user experience.",
|
|
"priority": 5,
|
|
"created_at": "2019-05-05T21:58:07.000000Z",
|
|
"updated_at": "2019-10-17T15:05:34.000000Z",
|
|
"created_by": 3,
|
|
"updated_by": 3,
|
|
"owned_by": 3,
|
|
"book_slug": "example-book"
|
|
}
|
|
],
|
|
"total": 40
|
|
} |