Execute GitHub-Compatible Webhook in Forum Channel
POST
/webhooks/{webhookId}/{webhookToken}/githubThis is a subset of Execute Github-Compatible Webhook, enabling compatibility with forum channels. This endpoint assumes your forum channel represents one repository, as the post titles give no indication of source.
Set up
- Create a webhook in a forum channel and copy the URL
- Follow the guide here for adding a webhook to a GitHub repository, but replace
discord.com/api
withdiscohook.app/api/v1
This endpoint supports the following events: issues
, pull_request
, discussion
(these cause posts to be created), issue_comment
, pull_request_review
, pull_request_review_comment
, and discussion_comment
(these are sent to existing posts if possible).
Privacy
While this endpoint does not store webhook details provided to it (ID or token), it does store the relevant channel ID, thread ID, repository name and owner, and type of GitHub resource (issue/pull/discussion). This is so that Discohook can know whether it needs to create a new post or send messages to an existing one. If you would like data pertinent to you or your repository removed, contact me (shay) on the Discohook support server.
Request
Request samples
Responses
{}