mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-15 03:45:03 +02:00
Add:Batch add/remove books from collection
This commit is contained in:
parent
b76e3e4c54
commit
448514af9e
7 changed files with 166 additions and 42 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue