Describe the Bug
The documentation mentions a field image_id but the API does not deliver it in API Call /api/books
Steps to Reproduce
- Log in to Bookstack
- Create a book
- Add a title image to the book
- Open /api/books
- Field
image_id is missing for every book
Expected Behaviour
The field image_id is returned for every book
Screenshots or Additional Context
The field is mentioned in the source code, but isn't returned anyway
|
'id', 'name', 'slug', 'description', 'created_at', 'updated_at', 'created_by', 'updated_by', 'owned_by', 'image_id', |
Browser Details
No response
Exact BookStack Version
v22.04.2
PHP Version
No response
Hosting Environment
https://demo.bookstackapp.com
Describe the Bug
The documentation mentions a field
image_idbut the API does not deliver it in API Call /api/booksSteps to Reproduce
image_idis missing for every bookExpected Behaviour
The field
image_idis returned for every bookScreenshots or Additional Context
The field is mentioned in the source code, but isn't returned anyway
BookStack/app/Http/Controllers/Api/BookApiController.php
Line 40 in 7c597a0
Browser Details
No response
Exact BookStack Version
v22.04.2
PHP Version
No response
Hosting Environment
https://demo.bookstackapp.com