The review area has 7 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).
reviewFindingsAutofix
Apply a finding’s suggested fix
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/review/findings/{findingId}/autofix
reviewFindingsAutofix(args: { tenantId: string; projectId: string; findingId: string; body: AutofixRequest }, options?: CallOptions): Promise<AutofixResponse>reviewFindingsFeedback
Give feedback on a finding
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/review/findings/{findingId}/feedback
reviewFindingsFeedback(args: { tenantId: string; projectId: string; findingId: string; body: FeedbackRequest }, options?: CallOptions): Promise<FeedbackResponse>reviewFindingsList
List review findings
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/review/findings
reviewFindingsList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ReviewFindingsResponse>reviewRunsCreate
Start an AI review run
- Request:
POSTon/v1/tenants/{tenantId}/projects/{projectId}/review/runs
reviewRunsCreate(args: { tenantId: string; projectId: string; body: ReviewRunRequest }, options?: CallOptions): Promise<ReviewRunResponse>reviewSettingsGet
Read a project’s review settings
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/review/settings
reviewSettingsGet(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ReviewSettings>reviewSettingsPut
Change a project’s review settings
- Request:
PUTon/v1/tenants/{tenantId}/projects/{projectId}/review/settings
reviewSettingsPut(args: { tenantId: string; projectId: string; body: UpdateReviewSettingsRequest }, options?: CallOptions): Promise<ReviewSettings>reviewStatus
Review status for a project
- Request:
GETon/v1/tenants/{tenantId}/projects/{projectId}/review/status
reviewStatus(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ReviewStatusResponse>