Closed
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
The payload example for the GitHub.com version of the docs has a payload for GHES.
Normally payloads for GitHub.com don't have an enterprise
key, and there are other keys in the repository
key in the payload that aren't present in the other example payloads.
Specifically the following are the keys in the repository
property that need clarification:
repository[network_count]
is new and isn't seen on other payloads for GitHub.com webhooksrepository[subscribers_count]
is new and isn't seen on other payloads for GitHub.com webhooksrepository[organization]
is anobject
while in other payloads it is astring
Additional information
I discovered this discrepancy while creating a schema for this new event over in octokit/webhooks#641