v1

latestOpenAPI 3.0.32026-07-24354865.6 KB
Coverage

Coverage report tree

Returns a hierarchical view of the report that matches the file structure of the covered files with coverage info rollups at each level.

Returns only top-level data by default but the depth of the traversal can be controlled via the depth parameter.

  • depth - how deep in the tree to traverse (default=1)
  • path - path in the tree from which to start the traversal (default is the root)
get/{service}/{owner_username}/repos/{repo_name}/report/tree

Path parameters

owner_usernamestring required

username from service provider

repo_namestring required

repository name

service'bitbucket' | 'bitbucket_server' | 'github' | 'github_enterprise' | 'gitlab' | 'gitlab_enterprise' required

Git hosting service provider

Query parameters

branchstring

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

component_idstring

filter report to only include info pertaining to given component id

depthstring

depth of the traversal (default=1)

flagstring

filter report to only include info pertaining to given flag name

pathstring

starting path of the traversal (default is root path)

shastring

commit SHA for which to return report

Response

namestring required
full_pathstring required
coveragenumber double required
linesinteger required
hitsinteger required
partialsinteger required
missesinteger required