Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was 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

Description

@bduffany

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.

Activity

  1. jmarshall commented on Jun 18, 2021

    @jmarshall

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions