capabilities.work

Get a Git tree, optionally recursively

One step with GitHub. We can help you get access.

Look something up

Get a Git tree, optionally recursively

with GitHub · Software Construction Management

Use GitHub: its GitHub v3 REST Git API lets you get a Git tree, optionally recursively in a single step (GET /repos/{owner}/{repo}/git/trees/{tree_sha}). capabilities.work can help you get signed up and connected.

  • How do I list every file in a repository at a given commit tree?
  • What happens when a tree response comes back truncated?
Say it to your AI assistant
  • Get tree {tree_sha} from {owner}/{repo}.
  • List all files recursively in tree {tree_sha} of {owner}/{repo} (recursive: {recursive}).
For your developer

GET /repos/{owner}/{repo}/git/trees/{tree_sha} in GitHub v3 REST Git API. Full spec on APIs.io.