Properties
| Name | Type | Description |
|---|---|---|
| action | string | |
| changes | object | |
| enterprise | object | |
| installation | object | |
| member | object | |
| organization | object | |
| repository | object | |
| sender | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/webhook-member-added",
"title": "member added event",
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"added"
]
},
"changes": {
"type": "object",
"properties": {
"permission": {
"type": "object",
"properties": {
"to": {
"type": "string",
"enum": [
"write",
"admin",
"read"
]
}
},
"required": [
"to"
]
}
}
},
"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",
"member",
"repository",
"sender"
]
}