mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Add upload/import/go live video attributes hooks
This commit is contained in:
parent
8cf43a6524
commit
d17d743051
6 changed files with 98 additions and 6 deletions
|
@ -53,6 +53,12 @@ export const serverFilterHookObject = {
|
|||
'filter:api.video-thread.create.accept.result': true,
|
||||
'filter:api.video-comment-reply.create.accept.result': true,
|
||||
|
||||
// Filter attributes when creating video object
|
||||
'filter:api.video.upload.video-attribute.result': true,
|
||||
'filter:api.video.import-url.video-attribute.result': true,
|
||||
'filter:api.video.import-torrent.video-attribute.result': true,
|
||||
'filter:api.video.live.video-attribute.result': true,
|
||||
|
||||
// Filter params/result used to list threads of a specific video
|
||||
// (used by the video watch page)
|
||||
'filter:api.video-threads.list.params': true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue