Get information about all code coverage reports

Return a JSON representation of all code coverage reports.

Request

GET https://{hostname}:{port}
  /build/rest2/build-lives//{id}/codeCoverage
Table 1. URL parameters
Parameter Type Required Description
id string true
This command takes a JSON request string or file. Use the following template for the request:
{
  "reports": [{
    "branchPercentage": "The branch percentage of the code 
  coverage report.",
    "buildLifeId": "The id of the build life that contains 
  the code coverage report.",
    "groups": [{
      "branchPercentage": "The branch percentage of the 
  group in the code coverage report.",
      "complexity": "The complexity of the group in the 
  code coverage report.",
      "linePercentage": "The line percentage of the group 
  in the code coverage report.",
      "methodPercentage": "The method percentage of the 
  group in the code coverage report.",
      "name": "The name of the group in the code coverage 
  report."
    }],
    "linePercentage": "The line percentage of the code 
  coverage report.",
    "methodPercentage": "The method percentage of the code 
  coverage report.",
    "name": "The name of the code coverage report.",
    "type": "The type of the code coverage report."
  }],
  "totalReports": "The number of the code coverage reports."
}