- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- BitbucketServerRepository
- Try it!
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 |
Required. Name of the parent resource. |
Query parameters
Parameters | |
---|---|
pageSize |
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 |
A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
RPC response object returned by the repos.list RPC method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"bitbucketServerRepositories": [
{
object ( |
Fields | |
---|---|
bitbucketServerRepositories[] |
List of Bitbucket Server repositories. |
nextPageToken |
A token that can be sent as |
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 ( |
Fields | |
---|---|
name |
The resource name of the repository. |
displayName |
Display name of the repository. |
description |
Description of the repository. |
browseUri |
Link to the browse repo page on the Bitbucket Server instance. |
repoId |
Identifier for a repository hosted on a Bitbucket Server. |