v1

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

Fetches git references from a repository.

get/v1/{+repository}:fetchRefs

Path parameters

repositorystring required

Required. The format is projects/{project_number}/locations/{location_id}/repositories/{repository_id}. Specifies the repository to fetch the references from.

Query parameters

pageSizeinteger

Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.

pageTokenstring

Optional. A token identifying a page of results the server should return.

type'REF_TYPE_UNSPECIFIED' | 'REF_TYPE_BRANCH' | 'REF_TYPE_TAG'

Optional. The type of reference to fetch (eg. branch, tag). By default, all references are returned.

Response

Successful response