These docs are for v5.0. Click to read the latest docs for v2023.

Commit coverage totals

Returns the coverage totals for a given commit and the coverage totals broken down by file.

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

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

The totals can be optionally filtered by specifying:

  • path - only show totals for pathnames that start with this value
  • flag - only show totals that applies to the specified flag name
  • component_id - only show totals 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