Method: accounts.repos.scans.list

  • 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.

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
page Size

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.

page Token

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
repo Scans[]

object ( RepoScan )

The repo scans for the specified app.

next Page Token

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 .

Create a Mobile Website
View Site in Mobile | Classic
Share by: