mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-02 13:58:57 +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)
26 lines
583 B
JSON
26 lines
583 B
JSON
{
|
|
"id": 75,
|
|
"book_id": 1,
|
|
"slug": "my-fantastic-updated-chapter",
|
|
"name": "My fantastic updated chapter",
|
|
"description": "This is an updated chapter that I've altered via the API",
|
|
"priority": 7,
|
|
"created_at": "2020-05-22T23:03:35.000000Z",
|
|
"updated_at": "2020-05-22T23:07:20.000000Z",
|
|
"created_by": 1,
|
|
"updated_by": 1,
|
|
"owned_by": 1,
|
|
"book_slug": "bookstack-demo-site",
|
|
"tags": [
|
|
{
|
|
"name": "Category",
|
|
"value": "Kinda Good Content",
|
|
"order": 0
|
|
},
|
|
{
|
|
"name": "Rating",
|
|
"value": "Medium",
|
|
"order": 1
|
|
}
|
|
]
|
|
} |