diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-20 15:28:34 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-20 15:28:34 +0100 |
commit | a4d2ca071514b4838544f2fd7229d2e8cb9da0d4 (patch) | |
tree | 3fd3b95b38e3032197303d794d505ec9754b95e6 /shared | |
parent | 70fdff3d4e140d19587e7ea9e40c021185b06a9a (diff) | |
download | PeerTube-a4d2ca071514b4838544f2fd7229d2e8cb9da0d4.tar.gz PeerTube-a4d2ca071514b4838544f2fd7229d2e8cb9da0d4.tar.zst PeerTube-a4d2ca071514b4838544f2fd7229d2e8cb9da0d4.zip |
Add user video list hooks
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/plugins/server-hook.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/plugins/server-hook.model.ts b/shared/models/plugins/server-hook.model.ts index c82abadd7..082b4b591 100644 --- a/shared/models/plugins/server-hook.model.ts +++ b/shared/models/plugins/server-hook.model.ts | |||
@@ -14,6 +14,10 @@ export const serverFilterHookObject = { | |||
14 | 'filter:api.video-channels.videos.list.params': true, | 14 | 'filter:api.video-channels.videos.list.params': true, |
15 | 'filter:api.video-channels.videos.list.result': true, | 15 | 'filter:api.video-channels.videos.list.result': true, |
16 | 16 | ||
17 | // Filter params/result used to list my user videos for the REST API | ||
18 | 'filter:api.user.me.videos.list.params': true, | ||
19 | 'filter:api.user.me.videos.list.result': true, | ||
20 | |||
17 | // Filter the result of the get function | 21 | // Filter the result of the get function |
18 | // Used to get detailed video information (video watch page for example) | 22 | // Used to get detailed video information (video watch page for example) |
19 | 'filter:api.video.get.result': true, | 23 | 'filter:api.video.get.result': true, |