gollum event

APIs.ioEngineeringPlatform

Properties

Name Type Description
enterprise object
installation object
organization object
pages array The pages that were updated.
repository object
sender object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-webhook-gollum-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-gollum",
  "title": "gollum event",
  "type": "object",
  "properties": {
    "enterprise": {
      "$ref": "#/components/schemas/enterprise-webhooks"
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "pages": {
      "description": "The pages that were updated.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "action": {
            "description": "The action that was performed on the page. Can be `created` or `edited`.",
            "type": "string",
            "enum": [
              "created",
              "edited"
            ]
          },
          "html_url": {
            "description": "Points to the HTML wiki page.",
            "type": "string",
            "format": "uri"
          },
          "page_name": {
            "description": "The name of the page.",
            "type": "string"
          },
          "sha": {
            "description": "The latest commit SHA of the page.",
            "type": "string"
          },
          "summary": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "description": "The current page title.",
            "type": "string"
          }
        },
        "required": [
          "page_name",
          "title",
          "summary",
          "action",
          "sha",
          "html_url"
        ]
      }
    },
    "repository": {
      "$ref": "#/components/schemas/repository-webhooks"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "pages",
    "repository",
    "sender"
  ]
}