AI-generated Key Takeaways
-
The service lists repo scans for a specified repository.
-
The HTTP request uses a GET method with a URL containing a parent parameter for the repo resource name.
-
Optional query parameters such as
pageSize,pageToken, andfiltercan be used to control the response. -
The response body contains a list of repo scan objects and an optional
nextPageToken. -
Authorization requires the
https://www.googleapis.com/auth/checksOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists repo scans for the specified repo.
HTTP request
GET https://checks.googleapis.com/v1alpha/{parent=accounts/*/repos/*}/scans
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Resource name of the repo. Example: |
Query parameters
| Parameters | |
|---|---|
page |
Optional. The maximum number of repo scans to return. If unspecified, at most 10 repo scans will be returned. The maximum value is 50; values above 50 will be coerced to 50. |
page |
Optional. A page token received from a previous Provide this to retrieve the subsequent page. When paginating, all other parameters provided to |
filter |
Optional. An AIP-160 filter string to filter repo scans. Example: |
Request body
The request body must be empty.
Response body
The response message for RepoScanService.ListRepoScans.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"repoScans": [
{
object ( |
| Fields | |
|---|---|
repo |
The repo scans for the specified app. |
next |
A token which can be sent as If this field is omitted, there are no subsequent pages. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/checks
For more information, see the OAuth 2.0 Overview.