title: VSTS View of build status by branch
body: <p>I'd like to create a report which is the build status of each of our builds by branch for all the current branches in my Git repository - much like on the right hand side of the the summary page but spanning all build definitions. I'm happy to use the API and create the report myself but I can't seem to find any way to filter the information by branch in the API. Here's the sort of query I want to perform:</p>
  
  <blockquote>
    <p><a href="https://(instance).visualstudio.com/(Project)/_apis/build/builds?definitions=(definitionID)&amp;sourceBranch=(BranchID)" rel="nofollow">https://(instance).visualstudio.com/(Project)/_apis/build/builds?definitions=(definitionID)&amp;sourceBranch=(BranchID)</a></p>
  </blockquote>
  
  <p>but sourceBranch doesn't seem to be a valid parameter</p>