pub async fn code_scanning_slash_get_alert(
configuration: &Configuration,
owner: &str,
repo: &str,
alert_number: i32,
) -> Result<CodeScanningAlert, Error<CodeScanningSlashGetAlertError>>
Expand description
Gets a single code scanning alert. 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.