From c5ca7e1e0c735d1e658f9ef524a61d19f6a50fea Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Tue, 15 Feb 2022 08:24:22 +0100 Subject: add filter:api.video-playlist.videos.list.* hooks closes #4775 --- shared/models/plugins/server/server-hook.model.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shared/models') diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts index bd2b27da5..e64c3bbbc 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts @@ -6,6 +6,11 @@ export const serverFilterHookObject = { 'filter:api.videos.list.params': true, 'filter:api.videos.list.result': true, + // Filter params/result used to list a video playlists videos + // for the REST API + 'filter:api.video-playlist.videos.list.params': true, + 'filter:api.video-playlist.videos.list.result': true, + // Filter params/result used to list account videos for the REST API 'filter:api.accounts.videos.list.params': true, 'filter:api.accounts.videos.list.result': true, -- cgit v1.2.3