You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% data reusables.webhooks.discussion_short_desc %}
132
+
133
+
{% data reusables.webhooks.events_api_payload %}
134
+
135
+
### Event `payload` object for DiscussionEvent
136
+
137
+
{% data reusables.webhooks.discussion_properties %}
138
+
139
+
{% endif %}
140
+
125
141
## ForkEvent
126
142
127
143
{% data reusables.webhooks.fork_short_desc %}
@@ -202,11 +218,7 @@ This event returns an empty `payload` object.
202
218
203
219
### Event `payload` object for PullRequestReviewEvent
204
220
205
-
Key | Type | Description
206
-
----|------|-------------
207
-
`action` | `string` | The action that was performed. Can be `created`.
208
-
`pull_request` | `object` | The pull request the review pertains to.
209
-
`review` | `object` | The review that was affected.
221
+
{% data reusables.webhooks.pull_request_review_properties %}
210
222
211
223
## PullRequestReviewCommentEvent
212
224
@@ -219,16 +231,6 @@ Key | Type | Description
219
231
{% data reusables.webhooks.pull_request_review_comment_event_api_properties %}
220
232
{% data reusables.webhooks.pull_request_review_comment_properties %}
221
233
222
-
## PullRequestReviewThreadEvent
223
-
224
-
{% data reusables.webhooks.pull_request_review_thread_short_desc %}
225
-
226
-
{% data reusables.webhooks.events_api_payload %}
227
-
228
-
### Event `payload` object for PullRequestReviewThreadEvent
229
-
230
-
{% data reusables.webhooks.pull_request_thread_properties %}
231
-
232
234
## PushEvent
233
235
234
236
{% data reusables.webhooks.push_short_desc %}
@@ -237,22 +239,7 @@ Key | Type | Description
237
239
238
240
### Event `payload` object for PushEvent
239
241
240
-
Key | Type | Description
241
-
----|------|-------------
242
-
`push_id` | `integer` | Unique identifier for the push.
243
-
`size`|`integer` | The number of commits in the push.
244
-
`distinct_size`|`integer` | The number of distinct commits in the push.
245
-
`ref`|`string` | The full [`git ref`](/rest/git/refs) that was pushed. Example: `refs/heads/main`.
246
-
`head`|`string` | The SHA of the most recent commit on `ref` after the push.
247
-
`before`|`string` | The SHA of the most recent commit on `ref` before the push.
248
-
`commits`|`array` | An array of commit objects describing the pushed commits. (The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](/rest/repos#commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.)
249
-
`commits[][sha]`|`string` | The SHA of the commit.
250
-
`commits[][message]`|`string` | The commit message.
251
-
`commits[][author]`|`object` | The git author of the commit.
252
-
`commits[][author][name]`|`string` | The git author's name.
253
-
`commits[][author][email]`|`string` | The git author's email address.
254
-
`commits[][url]`|`url` | URL that points to the commit API resource.
255
-
`commits[][distinct]`|`boolean` | Whether this commit is distinct from any that have been pushed before.
242
+
{% data reusables.webhooks.push_properties %}
256
243
257
244
## ReleaseEvent
258
245
@@ -265,18 +252,6 @@ Key | Type | Description
265
252
{% data reusables.webhooks.release_event_api_properties %}
266
253
{% data reusables.webhooks.release_properties %}
267
254
268
-
{% ifversion fpt or ghec %}
269
-
270
-
## SponsorshipEvent
271
-
272
-
{% data reusables.webhooks.sponsorship_short_desc %}
273
-
274
-
### Event `payload` object for SponsorshipEvent
275
-
276
-
{% data reusables.webhooks.sponsorship_event_api_properties %}
277
-
{% data reusables.webhooks.sponsorship_properties %}
0 commit comments