Bookstack: Link books to shelves in the API

Created on 29 Sep 2020  路  3Comments  路  Source: BookStackApp/BookStack

Currently it is possible to link chapters to books using the API, it is a mandatory option. It isn't yet possible to link books to shelves using the API.

Most helpful comment

It worked, thanks!

All 3 comments

Hi @Legoracers,
You should be able to use the Shelves update request (PUT) to link a shelf to books.
From the docs:

image

Let me know if you experience any trouble using that. Note that it does mention that it will overwrite existing book assignments so, depending on what you're doing, you may need to read the shelf first to get its current assignments.

Thank you for the response! I will try it shortly and will let you know.

It worked, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Abijeet picture Abijeet  路  3Comments

ensemblebd picture ensemblebd  路  3Comments

mackcoding picture mackcoding  路  3Comments

spacesven picture spacesven  路  3Comments

conor-byrne picture conor-byrne  路  3Comments