API Reference/Git
Get a tree object
Get a tree from the Git database with its entries.
GET
/git/v1/repo/{repo}/git/trees/{hash}
Path Parameters
repo
RequiredstringThe repository id
Format:
"uuid"
hash
RequiredstringThe object's hash
Response Body
200
Tree retrieved successfully
tree
Requiredarray<Blob | Tree>The tree's entries
sha
RequiredstringThe tree's hash ID
400
Invalid request
message
Requiredstring403
Forbidden
message
Requiredstring404
Tree not found
message
Requiredstring500
Internal server error
message
RequiredstringTree retrieved successfully