latestOpenAPI 3.0.12026-08-10234260964.0 KB
6cc88fde6435
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}
Path parameters
projectIdstring required
repositoryTreeIdstring required