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