Method: projects.locations.bitbucketServerConfigs.repos.list

List all repositories for a given BitbucketServerConfig.

This API is experimental.

HTTP request

GET https://cloudbuild.googleapis.com/v1/{parent=projects/*/locations/*/bitbucketServerConfigs/*}/repos

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the parent resource.

Query parameters

Parameters
pageSize

integer

The maximum number of configs to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken

string

A page token, received from a previous ListBitbucketServerRepositoriesRequest call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListBitbucketServerConfigsRequest must match the call that provided the page token.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

RPC response object returned by the repos.list RPC method.

JSON representation
{
  "bitbucketServerRepositories": [
    {
      object (BitbucketServerRepository)
    }
  ],
  "nextPageToken": string
}
Fields
bitbucketServerRepositories[]

object (BitbucketServerRepository)

List of Bitbucket Server repositories.

nextPageToken

string

A token that 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/cloud-platform

For more information, see the Authentication Overview.

BitbucketServerRepository

BitbucketServerRepository represents a repository hosted on a Bitbucket Server.

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "browseUri": string,
  "repoId": {
    object (BitbucketServerRepositoryId)
  }
}
Fields
name

string

The resource name of the repository.

displayName

string

Display name of the repository.

description

string

Description of the repository.

browseUri

string

Link to the browse repo page on the Bitbucket Server instance.

repoId

object (BitbucketServerRepositoryId)

Identifier for a repository hosted on a Bitbucket Server.