fix folder move to root

This commit is contained in:
2025-10-25 02:11:05 +02:00
parent 88b9375a4e
commit e972a8dddb
5 changed files with 153 additions and 48 deletions
+1
View File
@@ -46,6 +46,7 @@ Folders
-------
- POST /api/folders - Create a folder (optionally under a parent).
- POST /api/folders/path - Ensure a nested folder path exists, creating missing segments.
- GET /api/folders/:id - Fetch folder metadata.
- GET /api/folders/:id/contents - List subfolders and documents inside a folder; use `root` for the workspace root.
- DELETE /api/folders/:id - Soft-delete a folder.
- PATCH /api/folders/:id - Update a folder's parent (`parent_id`) and/or rename it (`name`).