The imports area has 2 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).
importsList
Show the import of a project’s connected GitHub repository: one job per kind with its count, rate and estimate
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/imports
importsList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<BackgroundJobList>importsStart
Queue the import of a project’s connected GitHub repository, or queue it again; reading only, safe to repeat
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/imports
importsStart(args: { tenantId: string; projectId: string; body: StartImportRequest }, options?: CallOptions): Promise<BackgroundJobList>