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?
https://docs.github.com/en/webhooks/webhook-events-and-payloads#create
What part(s) of the article would you like to see updated?
It says the ref
property is "The git ref resource.", which links to https://docs.github.com/en/rest/git/refs?apiVersion=2022-11-28#get-a-reference which says the format is "ref": "refs/heads/featureA",
in the example. Or possibly branch/<branch_name>
or tag/tag_name
. But when I test this, the format is actually just the branch/tag name, which no prefix.
Additional information
No response