Fetches a tree from a repository.
Request
- Base URL: https://securesourcemanager.googleapis.com
- URL: https://securesourcemanager.googleapis.com/v1/{+repository}:fetchTree
- Auth: one of:
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/securesourcemanager.read-write) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/securesourcemanager.read-write)
Path parameters
Required. The format is projects/{project_number}/locations/{location_id}/repositories/{repository_id}. Specifies the repository to fetch the tree from.
Query parameters
Optional. Requested page size. Server may return fewer items than requested. If unspecified, at most 10,000 items will be returned.
Optional. A token identifying a page of results the server should return.
Optional. If true, include all subfolders and their files in the response. If false, only the immediate children are returned.
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
Changes
- breaking
removed the media type
*/*for the response with the status - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/securesourcemanager.read-writewas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/securesourcemanager.read-writewas removed from the endpoint's security schemeOauth2c
- breaking