Authorize Repo Connection
POST/api/v2/skills/repo-connection/authorize
Start connecting the organization's GitHub skills repository.
Connects any repository the GitHub App can already access and returns it in
connected_repositories. Otherwise, open the returned GitHub App installation URL in a new tab
to grant access. GitHub then redirects to the callback endpoint, which stores the connection.
Responses
- 200
- 422
- 503
Returns a GitHub App installation URL. Open it to grant deepset access to your skills repository. If the app can already access repositories that aren't connected, they're connected right away and listed in connected_repositories.
Validation Error
The GitHub App is not configured, so a connection can't be started.
Was this page helpful?