Git Pull Request API

Last Update: 3/16/2017

api-version = 3.0-preview

Use these APIs to work with a Pull Request in a Team Foundation managed Git repository.

  • General Operations This section describes how to find, examine, edit and complete pull requests.

  • Comments Users can comment on pull requests. These comments are grouped into threads which can be used on the pull request in general or about a particular section of a file in the pull request.

  • Iterations Iterations contain the history of the pull request. Every time commits are pushed to the source branch and when the pull request is created, an iteration is created. Each iteraction can contain more than one commit.

  • Reviewers The primary action for reviewers is to vote to approve or reject the pull request.

  • Work Items Pull requests can be linked to work items.