milestone edited event

APIs.ioEngineeringPlatform

Properties

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

JSON Schema

apis-io-engineering-platform-webhook-milestone-edited-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-milestone-edited",
  "title": "milestone edited event",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "edited"
      ]
    },
    "changes": {
      "description": "The changes to the milestone if the action was `edited`.",
      "type": "object",
      "properties": {
        "description": {
          "type": "object",
          "properties": {
            "from": {
              "description": "The previous version of the description if the action was `edited`.",
              "type": "string"
            }
          },
          "required": [
            "from"
          ]
        },
        "due_on": {
          "type": "object",
          "properties": {
            "from": {
              "description": "The previous version of the due date 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"
    },
    "milestone": {
      "$ref": "#/components/schemas/webhooks_milestone"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "repository": {
      "$ref": "#/components/schemas/repository-webhooks"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "action",
    "changes",
    "milestone",
    "repository",
    "sender"
  ]
}