Repository
Get a tree object
Retrieve, by hash, the tree state represented by a commit. The returned object's tree field contains a list of files and directories present in the tree.
Directories in the tree can be recursively retrieved by this endpoint through their hashes. Files in the tree can be retrieved by the Get a blob object endpoint.
get/projects/{projectId}/git/trees/{repositoryTreeId}
Request
- Base URLhttps://api.upsun.com
- AuthOAuth 2Authorization codehttps://auth.api.platform.sh/oauth2/authorizeToken URLhttps://auth.api.platform.sh/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
repositoryTreeIdstring required
Response
Changes
No recorded changes to this operation across all 1 revision of this API.