GitHub · Schema

global-hook-2

global-hook-2 from GitHub API

CodePipelinesPlatformSoftware DevelopmentSource ControlT1

Properties

Name Type Description
type string
id integer
name string
active boolean
events array
config object
updated_at string
created_at string
url string
ping_url string
View JSON Schema on GitHub

JSON Schema

github-events-api-global-hook-2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-events-api-global-hook-2-schema.json",
  "title": "global-hook-2",
  "description": "global-hook-2 from GitHub API",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "example": "User"
    },
    "id": {
      "type": "integer",
      "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"
    }
  }
}