Download OpenAPI specification:
| pullReqId required | integer <int64> |
| projectKey required | string |
| repoSlug required | string |
[- {
- "name": "jcitizen",
- "id": 101,
- "type": "NORMAL",
- "active": true,
- "displayName": "Jane Citizen",
- "slug": "jcitizen",
- "emailAddress": "jane@example.com",
- "empty": true
}
]| pullReqId required | integer <int64> |
| projectKey required | string |
| repoSlug required | string |
[- {
- "eventType": "APPROVED",
- "projectKey": "string",
- "repoSlug": "string",
- "pullRequestId": 0,
- "user": {
- "name": "jcitizen",
- "id": 101,
- "type": "NORMAL",
- "active": true,
- "displayName": "Jane Citizen",
- "slug": "jcitizen",
- "emailAddress": "jane@example.com",
- "empty": true
}, - "dateTime": "string",
- "comment": "string"
}
]| pullReqId required | integer <int64> |
| projectKey required | string |
| repoSlug required | string |
| signapproveUser | string |
| signapprovePwd | string |
| pullReqId | integer <int32> |
| repoSlug | string |
| projectKey | string |
{- "signapproveUser": "string",
- "signapprovePwd": "string",
- "pullReqId": 0,
- "repoSlug": "string",
- "projectKey": "string"
}{- "enableReviewerNotifications": true,
- "enableMergeConditionVeto": true,
- "enableNeedsWorkVeto": true,
- "enableImmediateMerge": true,
- "disablePullRequestSignatures": true,
- "reviewersGroupMembersLimit": 0,
- "groupsPerUserLimit": 0,
- "maxPullRequestAgeDays": 0,
- "auditLogPriority": "string",
- "coverageLevel": "string",
- "enableRescopeConflictNotifications": true,
- "logAutomergeFailure": true,
- "maxAutomergeFailureRetries": 0,
- "customSupportUrl": "string"
}| enableReviewerNotifications | boolean |
| enableMergeConditionVeto | boolean |
| enableNeedsWorkVeto | boolean |
| enableImmediateMerge | boolean |
| disablePullRequestSignatures | boolean |
| reviewersGroupMembersLimit | integer <int32> |
| groupsPerUserLimit | integer <int32> |
| maxPullRequestAgeDays | integer <int32> |
| auditLogPriority | string |
| coverageLevel | string |
| enableRescopeConflictNotifications | boolean |
| logAutomergeFailure | boolean |
| maxAutomergeFailureRetries | integer <int32> |
| customSupportUrl | string |
{- "enableReviewerNotifications": true,
- "enableMergeConditionVeto": true,
- "enableNeedsWorkVeto": true,
- "enableImmediateMerge": true,
- "disablePullRequestSignatures": true,
- "reviewersGroupMembersLimit": 0,
- "groupsPerUserLimit": 0,
- "maxPullRequestAgeDays": 0,
- "auditLogPriority": "string",
- "coverageLevel": "string",
- "enableRescopeConflictNotifications": true,
- "logAutomergeFailure": true,
- "maxAutomergeFailureRetries": 0,
- "customSupportUrl": "string"
}| projectKey required | string |
| enableReviewerNotifications | boolean |
| enableMergeConditionVeto | boolean |
| enableNeedsWorkVeto | boolean |
| enableImmediateMerge | boolean |
| disablePullRequestSignatures | boolean |
| reviewersGroupMembersLimit | integer <int32> |
| groupsPerUserLimit | integer <int32> |
| maxPullRequestAgeDays | integer <int32> |
| auditLogPriority | string |
| coverageLevel | string |
| enableRescopeConflictNotifications | boolean |
| logAutomergeFailure | boolean |
| maxAutomergeFailureRetries | integer <int32> |
| customSupportUrl | string |
{- "enableReviewerNotifications": true,
- "enableMergeConditionVeto": true,
- "enableNeedsWorkVeto": true,
- "enableImmediateMerge": true,
- "disablePullRequestSignatures": true,
- "reviewersGroupMembersLimit": 0,
- "groupsPerUserLimit": 0,
- "maxPullRequestAgeDays": 0,
- "auditLogPriority": "string",
- "coverageLevel": "string",
- "enableRescopeConflictNotifications": true,
- "logAutomergeFailure": true,
- "maxAutomergeFailureRetries": 0,
- "customSupportUrl": "string"
}| projectKey required | string |
| repoSlug required | string |
| enableReviewerNotifications | boolean |
| enableMergeConditionVeto | boolean |
| enableNeedsWorkVeto | boolean |
| enableImmediateMerge | boolean |
| disablePullRequestSignatures | boolean |
| reviewersGroupMembersLimit | integer <int32> |
| groupsPerUserLimit | integer <int32> |
| maxPullRequestAgeDays | integer <int32> |
| auditLogPriority | string |
| coverageLevel | string |
| enableRescopeConflictNotifications | boolean |
| logAutomergeFailure | boolean |
| maxAutomergeFailureRetries | integer <int32> |
| customSupportUrl | string |
{- "enableReviewerNotifications": true,
- "enableMergeConditionVeto": true,
- "enableNeedsWorkVeto": true,
- "enableImmediateMerge": true,
- "disablePullRequestSignatures": true,
- "reviewersGroupMembersLimit": 0,
- "groupsPerUserLimit": 0,
- "maxPullRequestAgeDays": 0,
- "auditLogPriority": "string",
- "coverageLevel": "string",
- "enableRescopeConflictNotifications": true,
- "logAutomergeFailure": true,
- "maxAutomergeFailureRetries": 0,
- "customSupportUrl": "string"
}[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}
]| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| approvalQuotaEnabled | boolean |
| approvalQuota | string |
| approvalCount | integer <int32> |
| mandatoryApprovalCount | integer <int32> |
| deleteSourceBranch | boolean |
| watchBuildResult | boolean |
| watchTaskCompletion | boolean |
| requiredBuildsCount | integer <int32> |
| requiredSignaturesCount | integer <int32> |
| groupQuota | integer <int32> |
| mergeCondition | string |
| mergeStrategyId | string |
| ignoreContributingReviewersApproval | boolean |
| enableNeedsWorkVeto | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| approvalQuotaEnabled | boolean |
| approvalQuota | string |
| approvalCount | integer <int32> |
| mandatoryApprovalCount | integer <int32> |
| deleteSourceBranch | boolean |
| watchBuildResult | boolean |
| watchTaskCompletion | boolean |
| requiredBuildsCount | integer <int32> |
| requiredSignaturesCount | integer <int32> |
| groupQuota | integer <int32> |
| mergeCondition | string |
| mergeStrategyId | string |
| ignoreContributingReviewersApproval | boolean |
| enableNeedsWorkVeto | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}
]| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| approvalQuotaEnabled | boolean |
| approvalQuota | string |
| approvalCount | integer <int32> |
| mandatoryApprovalCount | integer <int32> |
| deleteSourceBranch | boolean |
| watchBuildResult | boolean |
| watchTaskCompletion | boolean |
| requiredBuildsCount | integer <int32> |
| requiredSignaturesCount | integer <int32> |
| groupQuota | integer <int32> |
| mergeCondition | string |
| mergeStrategyId | string |
| ignoreContributingReviewersApproval | boolean |
| enableNeedsWorkVeto | boolean |
[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}
][- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}
]| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
Array of objects | |
| mandatoryGroups | Array of strings |
| topSuggestedReviewers | integer <int32> |
| daysInPast | integer <int32> |
Array of objects (RestFilePathReviewers) |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
Array of objects | |
| mandatoryGroups | Array of strings |
| topSuggestedReviewers | integer <int32> |
| daysInPast | integer <int32> |
Array of objects (RestFilePathReviewers) |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}
]| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
| addAsReviewers | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
| addAsReviewers | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}
]| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
Array of objects | |
| mandatoryGroups | Array of strings |
| topSuggestedReviewers | integer <int32> |
| daysInPast | integer <int32> |
Array of objects (RestFilePathReviewers) |
[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}
][- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}
]| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
| addAsReviewers | boolean |
[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}
][- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}
]| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| approvalQuotaEnabled | boolean |
| approvalQuota | string |
| approvalCount | integer <int32> |
| mandatoryApprovalCount | integer <int32> |
| deleteSourceBranch | boolean |
| watchBuildResult | boolean |
| watchTaskCompletion | boolean |
| requiredBuildsCount | integer <int32> |
| requiredSignaturesCount | integer <int32> |
| groupQuota | integer <int32> |
| mergeCondition | string |
| mergeStrategyId | string |
| ignoreContributingReviewersApproval | boolean |
| enableNeedsWorkVeto | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| approvalQuotaEnabled | boolean |
| approvalQuota | string |
| approvalCount | integer <int32> |
| mandatoryApprovalCount | integer <int32> |
| deleteSourceBranch | boolean |
| watchBuildResult | boolean |
| watchTaskCompletion | boolean |
| requiredBuildsCount | integer <int32> |
| requiredSignaturesCount | integer <int32> |
| groupQuota | integer <int32> |
| mergeCondition | string |
| mergeStrategyId | string |
| ignoreContributingReviewersApproval | boolean |
| enableNeedsWorkVeto | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}
]| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| approvalQuotaEnabled | boolean |
| approvalQuota | string |
| approvalCount | integer <int32> |
| mandatoryApprovalCount | integer <int32> |
| deleteSourceBranch | boolean |
| watchBuildResult | boolean |
| watchTaskCompletion | boolean |
| requiredBuildsCount | integer <int32> |
| requiredSignaturesCount | integer <int32> |
| groupQuota | integer <int32> |
| mergeCondition | string |
| mergeStrategyId | string |
| ignoreContributingReviewersApproval | boolean |
| enableNeedsWorkVeto | boolean |
[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}
][- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}
]Set repository reviewers for branch
| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
Array of objects | |
| mandatoryGroups | Array of strings |
| topSuggestedReviewers | integer <int32> |
| daysInPast | integer <int32> |
Array of objects (RestFilePathReviewers) |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}"string"| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
Array of objects | |
| mandatoryGroups | Array of strings |
| topSuggestedReviewers | integer <int32> |
| daysInPast | integer <int32> |
Array of objects (RestFilePathReviewers) |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}
]| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
Array of objects | |
| mandatoryGroups | Array of strings |
| topSuggestedReviewers | integer <int32> |
| daysInPast | integer <int32> |
Array of objects (RestFilePathReviewers) |
[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryGroups": [
- "string"
], - "topSuggestedReviewers": 0,
- "daysInPast": 0,
- "filePathReviewers": [
- {
- "filePathPattern": "string",
- "includeExcludeEnabled": true,
- "includeFilePathPattern": [
- "string"
], - "excludeFilePathPattern": [
- "string"
], - "users": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalCount": 0,
- "groups": [
- "string"
], - "groupQuota": 0,
- "mandatoryUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "mandatoryApprovalCount": 0,
- "mandatoryGroups": [
- "string"
], - "mandatoryGroupQuota": 0
}
]
}
][- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}
]| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
| addAsReviewers | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
| addAsReviewers | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}
]| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
Array of objects | |
| groups | Array of strings |
| addAsReviewers | boolean |
[- {
- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "users": [
- {
- "property1": { },
- "property2": { }
}
], - "groups": [
- "string"
], - "addAsReviewers": true
}
]Get merge configuration for pull request
| projectKey required | string |
| repoSlug required | string |
| prId required | integer <int64> |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "automergeUsers": [
- {
- "property1": { },
- "property2": { }
}
], - "approvalQuotaEnabled": true,
- "approvalQuota": "string",
- "approvalCount": 0,
- "mandatoryApprovalCount": 0,
- "deleteSourceBranch": true,
- "watchBuildResult": true,
- "watchTaskCompletion": true,
- "requiredBuildsCount": 0,
- "requiredSignaturesCount": 0,
- "groupQuota": 0,
- "mergeCondition": "string",
- "mergeStrategyId": "string",
- "ignoreContributingReviewersApproval": true,
- "enableNeedsWorkVeto": true
}{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "pushAfterPullReq": true,
- "unapprovePullReqSrcCommit": true,
- "unapprovePullReq": true,
- "unapprovePullReqTargetRefChange": true,
- "enableMergeConditionVeto": true,
- "inheritedMergeConditionVetoEnabled": true
}| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
| pushAfterPullReq | boolean |
| unapprovePullReqSrcCommit | boolean |
| unapprovePullReq | boolean |
| unapprovePullReqTargetRefChange | boolean |
| enableMergeConditionVeto | boolean |
| inheritedMergeConditionVetoEnabled | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "pushAfterPullReq": true,
- "unapprovePullReqSrcCommit": true,
- "unapprovePullReq": true,
- "unapprovePullReqTargetRefChange": true,
- "enableMergeConditionVeto": true,
- "inheritedMergeConditionVetoEnabled": true
}| projectKey required | string |
| repoSlug required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
| pushAfterPullReq | boolean |
| unapprovePullReqSrcCommit | boolean |
| unapprovePullReq | boolean |
| unapprovePullReqTargetRefChange | boolean |
| enableMergeConditionVeto | boolean |
| inheritedMergeConditionVetoEnabled | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "pushAfterPullReq": true,
- "unapprovePullReqSrcCommit": true,
- "unapprovePullReq": true,
- "unapprovePullReqTargetRefChange": true,
- "enableMergeConditionVeto": true,
- "inheritedMergeConditionVetoEnabled": true
}{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "pushAfterPullReq": true,
- "unapprovePullReqSrcCommit": true,
- "unapprovePullReq": true,
- "unapprovePullReqTargetRefChange": true,
- "enableMergeConditionVeto": true,
- "inheritedMergeConditionVetoEnabled": true
}| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
| pushAfterPullReq | boolean |
| unapprovePullReqSrcCommit | boolean |
| unapprovePullReq | boolean |
| unapprovePullReqTargetRefChange | boolean |
| enableMergeConditionVeto | boolean |
| inheritedMergeConditionVetoEnabled | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "pushAfterPullReq": true,
- "unapprovePullReqSrcCommit": true,
- "unapprovePullReq": true,
- "unapprovePullReqTargetRefChange": true,
- "enableMergeConditionVeto": true,
- "inheritedMergeConditionVetoEnabled": true
}| projectKey required | string |
| projectKey | string |
| repoSlug | string |
| refName | string |
| refPattern | string |
| srcRefName | string |
| srcRefPattern | string |
| pushAfterPullReq | boolean |
| unapprovePullReqSrcCommit | boolean |
| unapprovePullReq | boolean |
| unapprovePullReqTargetRefChange | boolean |
| enableMergeConditionVeto | boolean |
| inheritedMergeConditionVetoEnabled | boolean |
{- "projectKey": "string",
- "repoSlug": "string",
- "refName": "string",
- "refPattern": "string",
- "srcRefName": "string",
- "srcRefPattern": "string",
- "pushAfterPullReq": true,
- "unapprovePullReqSrcCommit": true,
- "unapprovePullReq": true,
- "unapprovePullReqTargetRefChange": true,
- "enableMergeConditionVeto": true,
- "inheritedMergeConditionVetoEnabled": true
}