GitHub v3 REST API

webhook-config-url

string

The URL to which the payloads will be delivered.

Example

webhook-config-content-type

string

The media type used to serialize the payloads. Supported values include json and form. The default is form.

Example

webhook-config-secret

string

If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.

Example

webhook-config-insecure-ssl

One Of
Example

Webhook Configuration

object

Configuration object of the webhook

urlstring(uri)

The URL to which the payloads will be delivered.

Example:https://example.com/webhook

content_typestring

The media type used to serialize the payloads. Supported values include json and form. The default is form.

Example:"json"

secretstring

If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.

Example:"********"

insecure_sslOne Of
Variant 1string

Determines whether the SSL certificate of the host for url will be verified when delivering payloads. Supported values include 0 (verification is performed) and 1 (verification is not performed). The default is 0. We strongly recommend not setting this to 1 as you are subject to man-in-the-middle and other attacks.

Example:"0"

Example