A Git branch or tag is created. For more information, see the "Git data" REST API.
The event object includes properties that are common for all events. Each event object includes a payload property and the value is unique to each event type. The payload object for this event is described below.
payload object| Key | Type | Description |
|---|---|---|
ref |
string |
The git ref resource. |
ref_type |
string |
The type of Git ref object created in the repository. Can be either branch or tag. |
master_branch |
string |
The name of the repository's default branch (usually master). |
description |
string |
The repository's current description. |