Function code_scanning_slash_get_codeql_database

Source
pub async fn code_scanning_slash_get_codeql_database(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    language: &str,
) -> Result<CodeScanningCodeqlDatabase, Error<CodeScanningSlashGetCodeqlDatabaseError>>
Expand description

Gets a CodeQL database for a language in a repository. By default this endpoint returns JSON metadata about the CodeQL database. To download the CodeQL database binary content, set the Accept header of the request to application/zip, and make sure your HTTP client is configured to follow redirects or use the Location header to make a second request to get the redirect URL. 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.