Last Update: 1/9/2017

api-version = 2.0-preview.1

This API in preview. Learn more

If you haven’t already, look at the information on getting started with these APIs and our documentation on branch policies. Use these APIs to define policies for your projects. Configurations associate a type, such as "Required reviewers", with specific settings, such as "For pull requests with files named *.dll targeting the master branch in the Fabrikam Git repository, add the Source-Controlled Binaries Team as a required reviewer".

policy resources

Common tasks

Get a list of policy configurations