1
0
Fork 0
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:
Chocobozzz 2021-01-20 15:28:34 +01:00
parent 70fdff3d4e
commit a4d2ca0715
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 52 additions and 13 deletions

View file

@ -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,