REST API - Repos
Get the organization's PR/MR review settings: whether reviews post comments, the severity that fails the PR check, and which PRs are reviewed
Changed onget/pr-review-settings
Request
- Base URLhttps://api.hacktron.ai/v1
- URLhttps://api.hacktron.ai/v1/pr-review-settings
- AuthAPI key in header X-Api-Key
Headers
X-Organization-Idstring required
Organization ID
Response
Example response
{
"scan_include_branches": [
"main",
"**/release/**"
],
"scan_exclude_branches": [
"**/release/legacy/**"
],
"scan_include_labels": [
"feature",
"bugfix"
],
"scan_exclude_labels": [
"wip",
"no-scan"
],
"scan_include_authors": [
"alice",
"bob"
],
"scan_exclude_authors": [
"dependabot[bot]",
"renovate[bot]",
"*-bot"
],
"scan_include_keywords": [
"release",
"security"
],
"scan_exclude_keywords": [
"[exclude hacktron]",
"wip"
]
}Changes
- info
endpoint added
- info