pull_request edited event

APIs.ioEngineeringPlatform

Properties

Name Type Description
action string
changes object The changes to the comment if the action was `edited`.
enterprise object
installation object
number object
organization object
pull_request object
repository object
sender object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-webhook-pull-request-edited-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-pull-request-edited",
  "title": "pull_request edited event",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "edited"
      ]
    },
    "changes": {
      "description": "The changes to the comment if the action was `edited`.",
      "type": "object",
      "properties": {
        "base": {
          "type": "object",
          "properties": {
            "ref": {
              "type": "object",
              "properties": {
                "from": {
                  "type": "string"
                }
              },
              "required": [
                "from"
              ]
            },
            "sha": {
              "type": "object",
              "properties": {
                "from": {
                  "type": "string"
                }
              },
              "required": [
                "from"
              ]
            }
          },
          "required": [
            "ref",
            "sha"
          ]
        },
        "body": {
          "type": "object",
          "properties": {
            "from": {
              "description": "The previous version of the body if the action was `edited`.",
              "type": "string"
            }
          },
          "required": [
            "from"
          ]
        },
        "title": {
          "type": "object",
          "properties": {
            "from": {
              "description": "The previous version of the title if the action was `edited`.",
              "type": "string"
            }
          },
          "required": [
            "from"
          ]
        }
      }
    },
    "enterprise": {
      "$ref": "#/components/schemas/enterprise-webhooks"
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "number": {
      "$ref": "#/components/schemas/webhooks_number"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "pull_request": {
      "$ref": "#/components/schemas/pull-request-webhook"
    },
    "repository": {
      "$ref": "#/components/schemas/repository-webhooks"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "action",
    "changes",
    "number",
    "pull_request",
    "repository"
  ]
}