create event

APIs.ioEngineeringPlatform

Properties

Name Type Description
description string The repository's current description.
enterprise object
installation object
master_branch string The name of the repository's default branch (usually `main`).
organization object
pusher_type object
ref object
ref_type string The type of Git ref object created in the repository.
repository object
sender object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-webhook-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-create",
  "title": "create event",
  "type": "object",
  "properties": {
    "description": {
      "description": "The repository's current description.",
      "type": "string",
      "nullable": true
    },
    "enterprise": {
      "$ref": "#/components/schemas/enterprise-webhooks"
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "master_branch": {
      "description": "The name of the repository's default branch (usually `main`).",
      "type": "string"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "pusher_type": {
      "$ref": "#/components/schemas/webhooks_deploy_pusher_type"
    },
    "ref": {
      "$ref": "#/components/schemas/webhooks_ref_0"
    },
    "ref_type": {
      "description": "The type of Git ref object created in the repository.",
      "type": "string",
      "enum": [
        "tag",
        "branch"
      ]
    },
    "repository": {
      "$ref": "#/components/schemas/repository-webhooks"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "ref",
    "ref_type",
    "master_branch",
    "description",
    "pusher_type",
    "repository",
    "sender"
  ]
}