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

Path parameters

projectIdstring required
repositoryTreeIdstring required

Response

idstring required

The identifier of Tree

shastring required

The identifier of the tree

Changes

No recorded changes to this operation across all 1 revision of this API.