Skip to content

Missing field in Event API docs for DeleteEvent #3192

@wayofthepie

Description

@wayofthepie

What article on docs.github.com is affected?

https://docs.github.com/en/developers/webhooks-and-events/github-event-types#deleteevent

What part(s) of the article would you like to see updated?

The docs for DeleteEvent mention two fields, ref, and ref_type. However, there is a third field which appears in API calls, pusher_type. It seems pusher_type should also appear in the docs. Thanks!

Additional information

Example payload for DeleteEvent, calling /events:

{
  "id": "14950205875",
  "type": "DeleteEvent",
  
  "payload": {
    "ref": "dependabot/npm_and_yarn/examples/electron-react/faker-5.2.0",
    "ref_type": "branch",
    "pusher_type": "user"
  },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamecosystemThis issue or pull request should be reviewed by the Docs Ecosystem teamgood first issueGood for newcomershelp wantedAnyone is welcome to open a pull request to fix this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions