Commit coverage report

Similar to the coverage totals endpoint but also returns line-by-line coverage info (hit=0/miss=1/partial=2).

By default that commit is the head of the default branch but can also be specified explictily by:

  • sha - return report for the commit with the given SHA
  • branch - return report for the head commit of the branch with the given name

The report can be optionally filtered by specifying:

  • path - only show report info for pathnames that start with this value
  • flag - only show report info that applies to the specified flag name
  • component_id - only show report info that applies to the specified component
Path Params
string
required

username from service provider

string
required

repository name

string
enum
required

Git hosting service provider

Allowed:
Query Params
string

branch name for which to return report (of head commit)

string

filter report to only include info pertaining to given component id

string

filter report to only include info pertaining to given flag name

string

filter report to only include file paths starting with this value

string

commit SHA for which to return report

Response

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json