mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-03 13:44:09 +01:00
Add:Batch add/remove books from collection
This commit is contained in:
1 parent
b76e3e4c54
commit
448514af9e
7 files changed
+166
-42
No files matched your search
@@ -108,6 +108,8 @@ class ApiController {
|
||||
|
||||
this.router.post('/collections/:id/book', CollectionController.addBook.bind(this))
|
||||
this.router.delete('/collections/:id/book/:bookId', CollectionController.removeBook.bind(this))
|
||||
this.router.post('/collections/:id/batch/add', CollectionController.addBatch.bind(this))
|
||||
this.router.post('/collections/:id/batch/remove', CollectionController.removeBatch.bind(this))
|
||||
|
||||
// TEMP: Support old syntax for mobile app
|
||||
this.router.get('/collection/:id', CollectionController.findOne.bind(this))
|
||||
|
||||
Reference in new issue
Block a user