]> BookStack Code Mirror - bookstack/commit
API Docs: Add book_slug to Example Responses
authorThomas Kuschan <redacted>
Fri, 30 Jun 2023 07:33:53 +0000 (09:33 +0200)
committerThomas Kuschan <redacted>
Fri, 30 Jun 2023 07:33:53 +0000 (09:33 +0200)
commitccfe38e9637dcc6fb86b7a450ebc79aa81567cc7
treedcfe7e98e62a3a6875e6a6ffe92b14ada122e4a8
parent23ae332c1b226bc21bea9b23f38228a8267c4f88
API Docs: Add book_slug to Example Responses

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)
dev/api/responses/chapters-create.json
dev/api/responses/chapters-list.json
dev/api/responses/chapters-read.json
dev/api/responses/chapters-update.json
dev/api/responses/pages-list.json