GitHub · JSON Structure

Github Events Api Global Hook 2 Structure

global-hook-2 from GitHub API

Type: object Properties: 10
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

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

Properties

type id name active events config updated_at created_at url ping_url

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-events-api-global-hook-2-structure.json",
  "name": "global-hook-2",
  "description": "global-hook-2 from GitHub API",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "example": "User"
    },
    "id": {
      "type": "int32",
      "example": 42
    },
    "name": {
      "type": "string",
      "example": "octocat"
    },
    "active": {
      "type": "boolean",
      "example": true
    },
    "events": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "config": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "content_type": {
          "type": "string"
        },
        "insecure_ssl": {
          "type": "string"
        }
      }
    },
    "updated_at": {
      "type": "string",
      "example": "2026-04-17T12:00:00Z"
    },
    "created_at": {
      "type": "string",
      "example": "2026-04-17T12:00:00Z"
    },
    "url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "ping_url": {
      "type": "string",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    }
  }
}