GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}

Gets the analysis status of a repository in a CodeQL variant analysis.

OAuth app tokens and personal access tokens (classic) need the security_events scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories.

Servers

Path parameters

Name Type Required Description
repo_owner String Yes

The account owner of the variant analysis repository. The name is not case sensitive.

repo String Yes

The name of the controller repository.

codeql_variant_analysis_id Integer Yes

The ID of the variant analysis.

owner String Yes

The account owner of the repository. The name is not case sensitive.

repo_name String Yes

The name of the variant analysis repository.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.