API: Add endpoints for import/export#5592
API: Add endpoints for import/export#5592ssddanbrown merged 3 commits intoBookStackApp:developmentfrom
Conversation
…apters, as a ZIP file.
…nd define a route entry for handling the import process. Implement logic to read the list of files within the ZIP, process the directory structure, and automatically create associated pages, chapters, and books based on the ZIP file's contents.
|
Thanks for offering this @LM-Nishant. I noticed your description made no mention of the API though, do you specifically need API use? |
|
@ssddanbrown I am using zip import and export, it is working fine, I have tested and then committed the code. This is not my particular need, this is common API for every user, they will export or import zip file |
|
Thanks again @LM-Nishant. |
While working on my project, I extensively utilized BookStack as a central platform for organizing and managing content. During development, I identified the need for additional functionality to export and import books, along with their pages and chapters, as ZIP files. This would streamline data portability and enable seamless integration of BookStack content into other workflows.
To address this requirement, I implemented the following features:
This contribution aims to enhance BookStack’s usability by improving content sharing and migration capabilities.
Let me know if you'd like adjustments or additional details!