v1

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

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

get/v1/{+gitRepositoryLink}:fetchGitRefs

Path parameters

gitRepositoryLinkstring required

Required. The resource name of GitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

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'

Required. Type of refs to fetch.

Response

Successful response