1
0
mirror of synced 2025-12-21 19:06:49 -05:00

Merge branch 'main' into patch-2

This commit is contained in:
Courtney Wilson
2022-06-03 09:54:38 -05:00
committed by GitHub
1217 changed files with 160241 additions and 8211 deletions

View File

@@ -4,6 +4,7 @@ intro: 'Review your webhook deliveries on {% data variables.product.prodname_dot
redirect_from:
- /webhooks/testing
- /developers/webhooks-and-events/testing-webhooks
- /articles/testing-webhooks
versions:
fpt: '*'
ghes: '*'

View File

@@ -965,6 +965,40 @@ Key | Type | Description
{{ webhookPayloadsForCurrentVersion.project_column.created }}
{% if project-beta-webhooks %}
## projects_v2_item
{% note %}
**Note:** Webhook events for Projects (beta) are currently in beta and subject to change. To share feedback about Projects (beta) webhooks with {% data variables.product.product_name %}, see the [Projects (beta) webhook feedback discussion](https://github.com/github/feedback/discussions/17405).
{% endnote %}
Activity related to items in a Projects (beta) project. {% data reusables.webhooks.action_type_desc %} For more information, see "[About projects (beta)](/issues/trying-out-the-new-projects-experience/about-projects)."
### Availability
- Organization webhooks
- {% data variables.product.prodname_github_apps %} with the `organization_projects` permission
### Webhook payload object
Key | Type | Description
----|------|-------------
`action`|`string` | The action that was performed on the project item. Can be one of `archived`, `converted`, `created`, `edited`, `restored`, `deleted`, or `reordered`.
`projects_v2_item`|`object` | The project item itself. To find more information about the project item, you can use `node_id` (the node ID of the project item) and `project_node_id` (the node ID of the project) to query information in the GraphQL API. For more information, see "[Using the API to manage projects (beta)](/issues/trying-out-the-new-projects-experience/using-the-api-to-manage-projects)."
`changes`|`object` | The changes to the project item.
{% data reusables.webhooks.org_desc %}
{% data reusables.webhooks.app_desc %}
{% data reusables.webhooks.sender_desc %}
### Webhook payload example
{{ webhookPayloadsForCurrentVersion.projects_v2_item.created }}
{% endif %}
## public
{% data reusables.webhooks.public_short_desc %}