Skip to content

create webhook ref format incorrect #37014

Closed
@BeksOmega

Description

@BeksOmega

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamfix-internallyTriggers a workflow to copy the issue internally and close the current issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions