member edited event

APIs.ioEngineeringPlatform

Properties

Name Type Description
action string
changes object The changes to the collaborator permissions
enterprise object
installation object
member object
organization object
repository object
sender object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-webhook-member-edited-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-member-edited",
  "title": "member edited event",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "edited"
      ]
    },
    "changes": {
      "description": "The changes to the collaborator permissions",
      "type": "object",
      "properties": {
        "old_permission": {
          "type": "object",
          "properties": {
            "from": {
              "description": "The previous permissions of the collaborator if the action was edited.",
              "type": "string"
            }
          },
          "required": [
            "from"
          ]
        },
        "permission": {
          "type": "object",
          "properties": {
            "from": {
              "type": "string",
              "nullable": true
            },
            "to": {
              "type": "string",
              "nullable": true
            }
          }
        }
      }
    },
    "enterprise": {
      "$ref": "#/components/schemas/enterprise-webhooks"
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "member": {
      "$ref": "#/components/schemas/webhooks_user"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "repository": {
      "$ref": "#/components/schemas/repository-webhooks"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "action",
    "changes",
    "member",
    "repository",
    "sender"
  ]
}