]> BookStack Code Mirror - bookstack/commit
Develop functionality to import ZIP files. Create an API controller and define a...
author[email protected] <redacted>
Fri, 25 Apr 2025 07:18:34 +0000 (12:48 +0530)
committer[email protected] <redacted>
Fri, 25 Apr 2025 07:18:34 +0000 (12:48 +0530)
commit5fa728f28a0c4f09649da7b653dd66260e49a596
tree6ab67d17251672709b3984138bebbf4785e73e06
parentc61ce8dee4ea474b16564c3d3337bac25fba1f46
Develop functionality to import ZIP files. Create an API controller and 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.
app/Exports/Controllers/ImportApiController.php [new file with mode: 0644]
routes/api.php