APIs.io Engineering Platform · Schema
Membership
The membership between the user and the organization. Not present when the action is `member_invited`.
APIs.ioEngineeringPlatform
Properties
| Name | Type | Description |
|---|---|---|
| organization_url | string | |
| role | string | |
| state | string | |
| url | string | |
| user | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/webhooks_membership",
"title": "Membership",
"description": "The membership between the user and the organization. Not present when the action is `member_invited`.",
"type": "object",
"properties": {
"organization_url": {
"type": "string",
"format": "uri"
},
"role": {
"type": "string"
},
"state": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"user": {
"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",
"format": "int64"
},
"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"
]
}
},
"required": [
"url",
"state",
"role",
"organization_url",
"user"
]
}