projects
Fetches a tree from a repository.
get/v1/{+repository}:fetchTree
Path parameters
repositorystring required
Required. The format is projects/{project_number}/locations/{location_id}/repositories/{repository_id}. Specifies the repository to fetch the tree from.
Query parameters
pageSizeinteger
Optional. Requested page size. Server may return fewer items than requested. If unspecified, at most 10,000 items will be returned.
pageTokenstring
Optional. A token identifying a page of results the server should return.
recursiveboolean
Optional. If true, include all subfolders and their files in the response. If false, only the immediate children are returned.
refstring
Optional. ref can be a SHA-1 hash, a branch name, or a tag. Specifies which tree to fetch. If not specified, the default branch will be used.
Response
Successful response