meta deleted event

APIs.ioEngineeringPlatform

Properties

Name Type Description
action string
enterprise object
hook object The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.
hook_id integer The id of the modified webhook.
installation object
organization object
repository object
sender object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-webhook-meta-deleted-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-meta-deleted",
  "title": "meta deleted event",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "deleted"
      ]
    },
    "enterprise": {
      "$ref": "#/components/schemas/enterprise-webhooks"
    },
    "hook": {
      "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.",
      "type": "object",
      "properties": {
        "active": {
          "type": "boolean"
        },
        "config": {
          "type": "object",
          "properties": {
            "content_type": {
              "type": "string",
              "enum": [
                "json",
                "form"
              ]
            },
            "insecure_ssl": {
              "type": "string"
            },
            "secret": {
              "type": "string"
            },
            "url": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "content_type",
            "insecure_ssl",
            "url"
          ]
        },
        "created_at": {
          "type": "string"
        },
        "events": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "*",
              "branch_protection_rule",
              "check_run",
              "check_suite",
              "code_scanning_alert",
              "commit_comment",
              "create",
              "delete",
              "deployment",
              "deployment_status",
              "deploy_key",
              "discussion",
              "discussion_comment",
              "fork",
              "gollum",
              "issues",
              "issue_comment",
              "label",
              "member",
              "membership",
              "meta",
              "milestone",
              "organization",
              "org_block",
              "package",
              "page_build",
              "project",
              "project_card",
              "project_column",
              "public",
              "pull_request",
              "pull_request_review",
              "pull_request_review_comment",
              "pull_request_review_thread",
              "push",
              "registry_package",
              "release",
              "repository",
              "repository_import",
              "repository_vulnerability_alert",
              "secret_scanning_alert",
              "secret_scanning_alert_location",
              "security_and_analysis",
              "star",
              "status",
              "team",
              "team_add",
              "watch",
              "workflow_job",
              "workflow_run",
              "repository_dispatch",
              "projects_v2_item"
            ],
            "minItems": 1
          }
        },
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "id",
        "name",
        "active",
        "events",
        "config",
        "updated_at",
        "created_at"
      ]
    },
    "hook_id": {
      "description": "The id of the modified webhook.",
      "type": "integer"
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "repository": {
      "$ref": "#/components/schemas/nullable-repository-webhooks"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "action",
    "hook_id",
    "hook"
  ]
}