Method: accounts.repos.scans.get

Gets a repo scan.

By default, only the name and resultsUri fields are returned. You can include other fields by listing them in the fields URL query parameter. For example, ?fields=name,sources will return the name and sources fields.

HTTP request

GET https://checks.googleapis.com/v1alpha/{name=accounts/*/repos/*/scans/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the repo scan.

Example: accounts/123/repos/456/scans/789

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of RepoScan.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/checks

For more information, see the OAuth 2.0 Overview.