mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add user video list hooks
This commit is contained in:
parent
70fdff3d4e
commit
a4d2ca0715
5 changed files with 52 additions and 13 deletions
|
@ -14,6 +14,10 @@ export const serverFilterHookObject = {
|
|||
'filter:api.video-channels.videos.list.params': true,
|
||||
'filter:api.video-channels.videos.list.result': true,
|
||||
|
||||
// Filter params/result used to list my user videos for the REST API
|
||||
'filter:api.user.me.videos.list.params': true,
|
||||
'filter:api.user.me.videos.list.result': true,
|
||||
|
||||
// Filter the result of the get function
|
||||
// Used to get detailed video information (video watch page for example)
|
||||
'filter:api.video.get.result': true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue