Skip to main content
GET
Get code review settings

Path Parameters

projectId
string<uuid>
required

Project ID to fetch.

Response

200 - application/json

OK

projectId
string<uuid>
required
codeReviewEnabled
boolean
required

Master switch: when off, Sazabi never reviews pull requests for this project.

codeReviewOnPushEnabled
boolean
required

Review new changes pushed to a pull request, not only when it opens.

codeReviewApprovalEnabled
boolean
required

Approve pull requests that review finds nothing to fix in.

securityReviewEnabled
boolean
required

Run the automatic security review of this project's changes.

loggingReviewEnabled
boolean
required

Logging review: review pull requests for missing or weak logging.

loggingReviewMode
enum<string>
required

How Logging review delivers changes (only used while it is enabled).

Available options:
suggest,
on_demand,
auto_commit
loggingReviewDailyCommitLimit
integer | null
required

Most auto-commits Logging review makes per day in auto_commit mode; null for no limit.

Required range: 0 < x <= 9007199254740991
gitCommitAuthorMode
enum<string>
required

default commits as Sazabi; custom uses the name and email.

Available options:
default,
custom
gitCommitAuthorName
string | null
required
gitCommitAuthorEmail
string | null
required