* add webhook config REST API * add versioning for dotcom/2.23+ * check for empty parameters with request bodies * add latest rest-api-operation module * Apply suggestions from code review Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
5 lines
719 B
Markdown
5 lines
719 B
Markdown
You can use the repository, organization, and app webhook REST APIs to create, update, delete, and ping webhooks. {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}You can also use the REST API to change the configuration of the webhook. For example, you can modify the payload URL, content type, SSL verification, and secret. {% endif %}For more information, see:
|
|
- [Repository Webhooks REST API](/rest/reference/repos#webhooks)
|
|
- [Organization Webhooks REST API](/rest/reference/orgs#webhooks){% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}
|
|
- [GitHub App Webhooks REST API](/rest/reference/apps#webhooks){% endif %}
|