Skip to content

Include the cover property in the response for a LIST request on the /books endpoint #5179

@ln-ws

Description

@ln-ws

Describe the feature you'd like

A response for a READ request on the /books/{id} endpoint contains the cover object for the book requested. Using this object, one can acquire the Cover image data for that specific book. A response for a LIST request on the other hand does not contain such object.
If one were to implement a search for for the existing books, they would have to request the cover image for each book seperately. This increases overhead.

Describe the benefits this would bring to existing BookStack users

  • Reduces overhead
  • Simplifies usage of the API

Can the goal of this request already be achieved via other means?

Yes. You would have to iterativly request the cover images for each book seperately.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Not using yet, just scoping

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions