Payload schema
bodyobject
GitHub's webhook body, verbatim.
repositoryobject
The repository the delivery is about.
idinteger
GitHub's numeric repository id.
deliveryobject
idstring
GitHub's unique delivery id (X-GitHub-Delivery).
namestring
GitHub's event name (X-GitHub-Event), e.g. "push".
installationIdstring
The GitHub App installation the delivery was routed by.
Additional properties beyond the listed fields are allowed.
Raw JSON schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"body": {
"type": "object",
"properties": {
"repository": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "GitHub's numeric repository id."
}
},
"required": [
"id"
],
"additionalProperties": {},
"description": "The repository the delivery is about."
}
},
"required": [
"repository"
],
"additionalProperties": {},
"description": "GitHub's webhook body, verbatim."
},
"delivery": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "GitHub's unique delivery id (X-GitHub-Delivery)."
},
"name": {
"type": "string",
"minLength": 1,
"description": "GitHub's event name (X-GitHub-Event), e.g. \"push\"."
}
},
"required": [
"id",
"name"
]
},
"installationId": {
"type": "string",
"minLength": 1,
"description": "The GitHub App installation the delivery was routed by."
}
},
"required": [
"body",
"delivery",
"installationId"
],
"additionalProperties": {}
}