Get a tree's contents
One step with Platform.sh. We can help you get access.
Look something up
Get a tree's contents
Works with AI assistantsUse Platform.sh: its Platform.sh Repository API lets you get a tree's contents in a single step (GET /projects/{projectId}/git/trees/{repositoryTreeId}). Platform.sh also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- What files and directories does a commit's tree contain?
- Can I read a Git tree by its hash?
Say it to your AI assistant
- Get tree {tree} in project {project}.
- Show the files and directories in tree {tree} of project {project}.
For your developer
GET /projects/{projectId}/git/trees/{repositoryTreeId} in Platform.sh Repository API. Full spec on APIs.io.