GitHub · JSON Structure

Github Repo Hooks Api Webhook Config Structure

Configuration object of the webhook

Type: object Properties: 4
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

webhook-config is a JSON Structure definition published by GitHub, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

url content_type secret insecure_ssl

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-repo-hooks-api-webhook-config-structure.json",
  "name": "webhook-config",
  "description": "Configuration object of the webhook",
  "type": "object",
  "properties": {
    "url": {
      "$ref": "#/components/schemas/webhook-config-url"
    },
    "content_type": {
      "$ref": "#/components/schemas/webhook-config-content-type"
    },
    "secret": {
      "$ref": "#/components/schemas/webhook-config-secret"
    },
    "insecure_ssl": {
      "$ref": "#/components/schemas/webhook-config-insecure-ssl"
    }
  }
}