This repository was archived by the owner on Nov 1, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,43 @@ Key | Type | Description
6565` ref_type ` |` string ` | The object that was deleted. Can be "branch" or "tag".
6666` ref ` |` string ` | The full git ref.
6767
68+ ## DeploymentEvent
69+
70+ Represents a [ deployment] ( /v3/repos/deployments/#list-deployments ) .
71+
72+ ### Hook name
73+
74+ ` deployment `
75+
76+ ### Payload
77+
78+ Key | Type | Description
79+ ----|------|-------------
80+ ` sha ` |` string ` | The commit SHA for which this deployment was created.
81+ ` name ` |` string ` | Name of repository for this deployment, formatted as ` :owner/:repo ` .
82+ ` payload ` |` string ` | The optional extra information for this deployment.
83+ ` description ` |` string ` | The optional human-readable description added to the deployment.
84+
85+
86+ ## DeploymentStatusEvent
87+
88+ Represents a [ deployment status] ( /v3/repos/deployments/#list-deployment-statuses ) .
89+
90+ ### Hook name
91+
92+ ` deployment_status `
93+
94+ ### Payload
95+
96+ Key | Type | Description
97+ ----|------|-------------
98+ ` sha ` |` string ` | The commit SHA for the associated deployment.
99+ ` name ` |` string ` | Name of repository for the associated deployment, formatted as ` :owner/:repo ` .
100+ ` state ` |` string ` | The new state. Can be ` pending ` , ` success ` , ` failure ` , or ` error ` .
101+ ` payload ` |` string ` | The optional extra information for the associated deployment.
102+ ` target_url ` |` string ` | The optional link added to the status.
103+ ` description ` |` string ` | The optional human-readable description added to the status.
104+
68105
69106## DownloadEvent
70107
Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ Name | Description
7272` public ` | Any time a Repository changes from private to public.
7373` team_add ` | Any time a team is added or modified on a Repository.
7474` status ` | Any time a Repository has a status update from the API
75+ ` deployment ` | Any time a Repository has a new deployment created from the API.
76+ ` deployment_status ` | Any time a deployment for the Repository has a status update from the API.
77+
7578
7679### Payloads
7780
You can’t perform that action at this time.
0 commit comments