Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

GitHub API documentation issue: create webhook API requires "events" field #1989

Open
bduffany opened this issue Jun 8, 2021 · 1 comment

Comments

@bduffany
Copy link

bduffany commented Jun 8, 2021

See https://docs.github.com/en/rest/reference/repos#create-a-repository-webhook

In my testing, you have to provide both the top-level events field as well as config.events, otherwise the created webhook will only get the push event. The documentation makes it seem like you only have to provide config.events.

@jmarshall
Copy link

You can report this directly at https://github.com/github/docs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants