v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-1194110197.0 KB
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"}