AI-generated Key Takeaways
-
Retrieves detailed information about a specific repository scan using a
GET
request. -
The response includes scan details, and you can specify desired fields using the
fields
query parameter. -
Requires authorization with the
https://www.googleapis.com/auth/checks
scope. -
Identifies the repository scan using a resource name in the URL path.
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 |
Required. Resource name of the repo scan. Example: |
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.