Method: accounts.repos.scans.list

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

string

Required. Resource name of the repo.

Example: accounts/123/repos/456

Query parameters

Parameters
pageSize

integer

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.

pageToken

string

Optional. A page token received from a previous scans.list call.

Provide this to retrieve the subsequent page. When paginating, all other parameters provided to scans.list must match the call that provided the page token.

filter

string

Optional. An AIP-160 filter string to filter repo scans.

Example: scmMetadata.branch = main

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 (RepoScan)
    }
  ],
  "nextPageToken": string
}
Fields
repoScans[]

object (RepoScan)

The repo scans for the specified app.

nextPageToken

string

A token which can be sent as pageToken to retrieve the next page.

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.