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.
input RegisterSelfHostedGitHubAppInput! required
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.
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
