Allow items to be moved between libraries

This commit is contained in:
Tiberiu Ichim 2026-02-06 14:14:25 +02:00
parent a627dd5009
commit 37626b8d60
9 changed files with 450 additions and 1 deletions

View file

@ -126,6 +126,7 @@ class ApiRouter {
this.router.get('/items/:id/file/:fileid/download', LibraryItemController.middleware.bind(this), LibraryItemController.downloadLibraryFile.bind(this))
this.router.get('/items/:id/ebook/:fileid?', LibraryItemController.middleware.bind(this), LibraryItemController.getEBookFile.bind(this))
this.router.patch('/items/:id/ebook/:fileid/status', LibraryItemController.middleware.bind(this), LibraryItemController.updateEbookFileStatus.bind(this))
this.router.post('/items/:id/move', LibraryItemController.middleware.bind(this), LibraryItemController.move.bind(this))
//
// User Routes