Get file coverage
Coverage
Get file coverage
Retrieve line-by-line test coverage data for a file at a specific Git reference or commit SHA
GET
Get file coverage
Authorizations
Generate an API token at https://qlty.sh/user/settings/tokens
Path Parameters
Repository owner name (login) or workspace ID
Minimum string length:
3Example:
"acme-corp"
Repository name or project ID
Minimum string length:
3Example:
"my-repo"
Query Parameters
Git reference (refs/heads/branch, refs/tags/tag) or commit SHA
Minimum string length:
1Example:
"refs/heads/main"
File path to get coverage for
Minimum string length:
1Example:
"src/index.ts"