membership added event

APIs.ioEngineeringPlatform

Properties

Name Type Description
action string
enterprise object
installation object
member object
organization object
repository object
scope string The scope of the membership. Currently, can only be `team`.
sender object
team object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-webhook-membership-added-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-membership-added",
  "title": "membership added event",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "added"
      ]
    },
    "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"
    },
    "scope": {
      "description": "The scope of the membership. Currently, can only be `team`.",
      "type": "string",
      "enum": [
        "team"
      ]
    },
    "sender": {
      "title": "User",
      "type": "object",
      "nullable": true,
      "properties": {
        "avatar_url": {
          "type": "string",
          "format": "uri"
        },
        "deleted": {
          "type": "boolean"
        },
        "email": {
          "type": "string",
          "nullable": true
        },
        "events_url": {
          "type": "string",
          "format": "uri-template"
        },
        "followers_url": {
          "type": "string",
          "format": "uri"
        },
        "following_url": {
          "type": "string",
          "format": "uri-template"
        },
        "gists_url": {
          "type": "string",
          "format": "uri-template"
        },
        "gravatar_id": {
          "type": "string"
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        },
        "id": {
          "type": "integer"
        },
        "login": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "node_id": {
          "type": "string"
        },
        "organizations_url": {
          "type": "string",
          "format": "uri"
        },
        "received_events_url": {
          "type": "string",
          "format": "uri"
        },
        "repos_url": {
          "type": "string",
          "format": "uri"
        },
        "site_admin": {
          "type": "boolean"
        },
        "starred_url": {
          "type": "string",
          "format": "uri-template"
        },
        "subscriptions_url": {
          "type": "string",
          "format": "uri"
        },
        "type": {
          "type": "string",
          "enum": [
            "Bot",
            "User",
            "Organization"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "login",
        "id"
      ]
    },
    "team": {
      "$ref": "#/components/schemas/webhooks_team"
    }
  },
  "required": [
    "action",
    "scope",
    "member",
    "sender",
    "team",
    "organization"
  ]
}