Get code coverage for a repository

Returns the latest code coverage summary for a repository. Optionally filter by branch name. When no branch is provided, results for the default branch are returned. Requires a paid plan.

get/code-coverage/repositories/{code_repo_id}

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/code-coverage/repositories/{code_repo_id}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: code_coverage:read

Path parameters

code_repo_idinteger required

The Aikido ID of the repository

Query parameters

branch_namestring

Optional branch name to fetch coverage for. When omitted, results for the default branch are returned.

Response

Code coverage summary for the specified repository

Changes

No recorded changes to this operation across all 1 revision of this API.