GitHub & Code
listRepoTree
List Repo Tree
Browse a connected GitHub repo's file tree at a ref, optionally scoped to a path and depth.
Arguments
depthintegeroptionalLimit results to this many directory levels below path (1 = immediate children). Omit for the full subtree.limitintegeroptionalMax entries returned (default 1500, ceiling 3000).ownerstringrequiredRepository ownerpathstringoptionalSubtree path to filter torefstringoptionalBranch, tag, or commit SHA. Defaults to the repo default branch.repostringrequiredRepository name
Returns
The registry does not declare a return shape.
Declared limits
depth: minimum 1depth: maximum 9007199254740991limit: minimum 1limit: maximum 3000
Ask for it
The Cloud routes these requests to this verb.
- list files in <repo>
- what's in <dir>
Pair it with
The verbs that finish the job.