For the complete documentation index, see llms.txt. This page is also available as Markdown.

registerAndOnboardSelfHostedGitHubApp

Examples

mutation RegisterAndOnboardSelfHostedGitHubApp($input: RegisterSelfHostedGitHubAppInput!, $installationId: Int!) {
  registerAndOnboardSelfHostedGitHubApp(input: $input, installationId: $installationId) {
    oxAppId
    appSlug
    appName
    installUrl
    webhookUrl
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "input": {
    "gitHubAppId": "example",
    "privateKey": "example",
    "clientId": "example",
    "clientSecret": "example",
    "webhookSecret": "example",
    "baseUrl": "example",
    "credentialsName": "example",
    "brokerUsername": "example",
    "brokerPassword": "example",
    "brokerEnabled": true
  },
  "installationId": 42
}

Arguments

You can use the following argument(s) to customize your registerAndOnboardSelfHostedGitHubApp mutation.

Argument
Description
Supported fields

gitHubAppId String! privateKey String! clientId String! clientSecret String! webhookSecret String! baseUrl String credentialsName String brokerUsername String brokerPassword String brokerEnabled Boolean

installationId Int! required

Fields

Return type: RegisterSelfHostedGitHubAppResponse

You can use the following field(s) to specify what information your registerAndOnboardSelfHostedGitHubApp mutation will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

oxAppId String!

OX-internal identifier assigned to this registration

appSlug String!

GitHub App slug

appName String!

GitHub App display name

installUrl String!

URL customers use to install the app on their org/repos

webhookUrl String!

Webhook URL this app should deliver events to

Last updated