As a stash-administrator
I want to use the REST API to configure the pull request
So that I can ensure the proper configuration is made across all repositories
|Get||Returns current configuration; ie "0 approvers, 2 builds"|
|Post||set the configuration|
Possible PR configurations:
- The number of required approvals before a PR can be merged.
- The number of required builds before a PR can be merged.
- Unapprove all reviewers when the source branch of a pull request changes (when Stash Auto Unapprove Plugin ins installed)
When adding a REST endpoint, a corresponding Java service should also be exposed.