v1
latestOpenAPI 3.0.32026-07-24354865.6 KBCoverage
File coverage report
Similar to the coverage report endpoint but only returns coverage info for a single file specified by path.
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
get/{service}/{owner_username}/repos/{repo_name}/file_report/{path}/
Path parameters
owner_usernamestring required
username from service provider
pathstring required
the file path for which to retrieve coverage info
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)
shastring
commit SHA for which to return report