title: Getting Tests Run on Build with Azure DevOps REST APIs
body: <p>Is there a REST API for getting the number of tests run/failed for a build?</p>
  <p>I see there's one for getting <a href="https://docs.microsoft.com/en-us/rest/api/azure/devops/test/code%20coverage/get%20build%20code%20coverage?view=azure-devops-rest-5.1" rel="nofollow noreferrer">Code Coverage</a> but unless I am missing something obvious I can't find an API for just getting the number of tests run for a build.</p>
  <p>Looks like that all APIs available to get Test Results require a test <em>runid</em>, but I only have a <em>buildid</em>.</p>