AI-generated Key Takeaways
-
Lists repository scans for a specified repository using the provided
parent
path parameter. -
Allows filtering, pagination, and limiting the number of results returned using query parameters.
-
Requires authorization with the
https://www.googleapis.com/auth/checks
scope. -
Returns a list of repository scans with details and a pagination token for accessing further results.
-
The request body should be empty, and the response body contains a JSON representation of the repo scans and pagination details.
- 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 .