Skip to content

Missing field image_id in API Call /api/books #3474

Description

@bytepoets-ssi

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

  1. Log in to Bookstack
  2. Create a book
  3. Add a title image to the book
  4. Open /api/books
  5. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions