The github area has 3 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).
githubInstallations
GitHub App installations connected to the team, and requests waiting for an organization owner
- Request:
GETon/v1/tenants/{tenantId}/github/installations
githubInstallations(args: { tenantId: string }, options?: CallOptions): Promise<Record<string, unknown>>githubInstallLink
A one-time link to the GitHub App’s install page for the caller, which opens on any device and expires after 15 minutes
- Request:
POSTon/v1/tenants/{tenantId}/github/install-link
githubInstallLink(args: { tenantId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<GithubInstallLink>githubRepositories
Repositories a connected GitHub App installation reaches
- Request:
GETon/v1/tenants/{tenantId}/github/installations/{installationId}/repositories
githubRepositories(args: { tenantId: string; installationId: string }, options?: CallOptions): Promise<Record<string, unknown>>