Payload schema
One of 5 shapes:
type: "slack_thread"
type"slack_thread"
connectionstring
channelIdstring
threadTsstring
channelNamestringoptional
urlstringoptional
type: "telegram_thread"
type"telegram_thread"
connectionstring
chatIdstring
messageThreadIdstringoptional
type: "email_thread"
type"email_thread"
threadIdstring
subjectstringoptional
counterpartstringoptional
type: "github_pull_request"
type"github_pull_request"
connectionstring
installationIdstring
ownerstring
repostring
numberinteger
urlstringoptional
type: "github_check_run"
type"github_check_run"
connectionstring
installationIdstring
ownerstring
repostring
numberinteger
checkRunIdintegeroptional
headShastringoptional
urlstringoptional
Raw JSON schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "slack_thread"
},
"connection": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"channelId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"threadTs": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"channelName": {
"type": "string",
"minLength": 1,
"maxLength": 240
},
"url": {
"type": "string",
"maxLength": 512,
"format": "uri"
}
},
"required": [
"type",
"connection",
"channelId",
"threadTs"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "telegram_thread"
},
"connection": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"chatId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"messageThreadId": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"type",
"connection",
"chatId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "email_thread"
},
"threadId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 240
},
"counterpart": {
"type": "string",
"minLength": 1,
"maxLength": 240
}
},
"required": [
"type",
"threadId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "github_pull_request"
},
"connection": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"installationId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"repo": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"url": {
"type": "string",
"maxLength": 512,
"format": "uri"
}
},
"required": [
"type",
"connection",
"installationId",
"owner",
"repo",
"number"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "github_check_run"
},
"connection": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"installationId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"owner": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"repo": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"checkRunId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"headSha": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"url": {
"type": "string",
"maxLength": 512,
"format": "uri"
}
},
"required": [
"type",
"connection",
"installationId",
"owner",
"repo",
"number"
],
"additionalProperties": false
}
]
}