Skip to content

Commit 6c288b8

Browse files
authored
Merge branch 'main' into repo-sync
2 parents c34b374 + 8054606 commit 6c288b8

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

content/developers/webhooks-and-events/webhook-events-and-payloads.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ Also, the `User-Agent` for the requests will have the prefix `GitHub-Hookshot/`.
199199
200200
Webhook events are triggered based on the specificity of the domain you register. For example, if you register a subdomain (`https://subdomain.example.com`) then only URLs for the subdomain trigger this event. If you register a domain (`https://example.com`) then URLs for domain and all subdomains trigger this event. See "[Create a content attachment](/rest/reference/apps#create-a-content-attachment)" to create a new content attachment.
201201
202-
Only {% data variables.product.prodname_github_app %}s can receive this event. {% data variables.product.prodname_github_app %}s must have the `content_references` `write` permission to subscribe to this event.
202+
#### Availability
203+
204+
- {% data variables.product.prodname_github_app %}s with the `content_references:write` permission
203205
204206
#### Webhook payload example
205207
@@ -1008,12 +1010,6 @@ Deliveries for `review_requested` and `review_request_removed` events will have
10081010
10091011
{% endnote %}
10101012
1011-
{% tip %}
1012-
1013-
**Note**: The webhook payload example following the table differs significantly from the Events API payload described in the table. Among other differences, the webhook payload includes both `sender` and `pusher` objects. Sender and pusher are the same user who initiated the `push` event, but the `sender` object contains more detail.
1014-
1015-
{% endtip %}
1016-
10171013
#### Availability
10181014
10191015
- Repository webhooks

0 commit comments

Comments
 (0)