v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13187995.5 KB
projects

Fetch the list of branches or tags for a given repository.

get/v2/{+repository}:fetchGitRefs

Path parameters

repositorystring required

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

Query parameters

pageSizeinteger

Optional. Number of results to return in the list. Default to 20.

pageTokenstring

Optional. Page start.

refType'REF_TYPE_UNSPECIFIED' | 'TAG' | 'BRANCH'

Type of refs to fetch

Response

Successful response