GitHub v3 REST API

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

Enterprise

object

An enterprise account

descriptionstring

A short description of the enterprise.

html_urlstring(uri)required

Example:https://github.com/enterprises/octo-business

website_urlstring(uri)

The enterprise’s website URL.

idintegerrequired

Unique identifier of the enterprise

Example:42

node_idstringrequired

Example:MDEwOlJlcG9zaXRvcnkxMjk2MjY5

namestringrequired

The name of the enterprise.

Example:Octo Business

slugstringrequired

The slug url identifier for the enterprise.

Example:octo-business

created_atstring(date-time)required

Example:2019-01-26T19:01:12Z

updated_atstring(date-time)required

Example:2019-01-26T19:14:43Z

avatar_urlstring(uri)required
Example