Peertube - server hook - published video when user click on the publish button

Hi @Chocobozzz and @all,

I’m trying to make a plugin to enable a « webhook feature » when a new video is published.

I’ve tried via but this hook seems to be fired directly after the file was uploaded and not when the user clicked on « publish » button.

Does I misunderstood something or used the wrong hook ? Currently, I want to get the video information like : description, uuid, duration and thumbnail.



The UI first uploads the video, and when the user clicks on « Publish » the UI updates the video.
Then will be fired.

OK, I will check that soon.

Thanks for the response :smiley: