v1
latestOpenAPI 3.1.02026-07-22168133210.3 KBGitHub Search
Github Tree
Get the file tree of a GitHub repository or subdirectory.
get/github/tree/{owner}/{repo}
Path parameters
ownerstring required
repostring required
Query parameters
refstring
Branch, tag, or commit SHA
Branch, tag, or commit SHA
pathstring nullable
Subdirectory path
Subdirectory path
Response
Successful Response
{"stackTrail":"paths:/github/tree/{owner}/{repo}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}