Update share endpoint to return playback session, add get share file endpoint

This commit is contained in:
advplyr 2024-06-26 17:03:12 -05:00
parent 042035051d
commit 8cadaa57f6
6 changed files with 161 additions and 12 deletions

View file

@ -10,6 +10,7 @@ class PublicRouter {
init() {
this.router.get('/share/:slug', ShareController.getMediaItemShareBySlug.bind(this))
this.router.get('/share/:slug/file/:fileid', ShareController.getMediaItemShareFile.bind(this))
}
}
module.exports = PublicRouter