GitHub

Verify GitHub installation

Check that the GitHub App is installed on a repository and holds the permissions Kaneo needs. Always 200 -- problems are reported in the body so the client can guide the user.

post/github-integration/verify

Request body

projectIdstring required
repositoryOwnerstring required
repositoryNamestring required

Response

Verification result

isInstalledboolean required
installationIdnumber nullable required
repositoryExistsboolean nullable required
repositoryPrivateboolean nullable required
permissionsobject nullable required

The permissions the installation currently grants.

hasRequiredPermissionsboolean required
missingPermissionsstring[] required

Permissions that must be granted before the link will work.

messagestring required

A human-readable summary to show the user.

settingsUrlstring

Where to adjust the installation, when one exists.

installationUrlstring

Where to install the App, when it is not installed yet.

Changes