diff options
Diffstat (limited to 'shared/models/plugins')
-rw-r--r-- | shared/models/plugins/server-hook.model.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shared/models/plugins/server-hook.model.ts b/shared/models/plugins/server-hook.model.ts index 6609bc893..64d63f8f5 100644 --- a/shared/models/plugins/server-hook.model.ts +++ b/shared/models/plugins/server-hook.model.ts | |||
@@ -5,6 +5,15 @@ export const serverFilterHookObject = { | |||
5 | // (used by the trending page, recently-added page, local page etc) | 5 | // (used by the trending page, recently-added page, local page etc) |
6 | 'filter:api.videos.list.params': true, | 6 | 'filter:api.videos.list.params': true, |
7 | 'filter:api.videos.list.result': true, | 7 | 'filter:api.videos.list.result': true, |
8 | |||
9 | // Filter params/result used to list account videos for the REST API | ||
10 | 'filter:api.accounts.videos.list.params': true, | ||
11 | 'filter:api.accounts.videos.list.result': true, | ||
12 | |||
13 | // Filter params/result used to list account videos for the REST API | ||
14 | 'filter:api.video-channels.videos.list.params': true, | ||
15 | 'filter:api.video-channels.videos.list.result': true, | ||
16 | |||
8 | // Filter the result of the get function | 17 | // Filter the result of the get function |
9 | // Used to get detailed video information (video watch page for example) | 18 | // Used to get detailed video information (video watch page for example) |
10 | 'filter:api.video.get.result': true, | 19 | 'filter:api.video.get.result': true, |