webhook_config
Overview
| Name | webhook_config |
| Type | Resource |
| Id | github.orgs.webhook_config |
Fields
| Name | Datatype | Description |
|---|---|---|
content_type | string | The media type used to serialize the payloads. Supported values include json and form. The default is form. |
insecure_ssl | `` | |
secret | string | If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers. |
url | string | The URL to which the payloads will be delivered. |
Methods
| Name | Accessible by | Required Params | Description |
|---|---|---|---|
get_webhook_config_for_org | SELECT | hook_id, org | Returns the webhook configuration for an organization. To get more information about the webhook, including the active state and events, use "Get an organization webhook ."Access tokens must have the admin:org_hook scope, and GitHub Apps must have the organization_hooks:read permission. |
update_webhook_config_for_org | EXEC | hook_id, org | Updates the webhook configuration for an organization. To update more information about the webhook, including the active state and events, use "Update an organization webhook ."Access tokens must have the admin:org_hook scope, and GitHub Apps must have the organization_hooks:write permission. |