Skip to main content

Get GitHub repository file tree

GET 

/api/v1/integrations/github/repos/:owner/:repo/tree/:branch

Return the full recursive file tree for a GitHub repository at a given branch.

Uses the GitHub Git Trees API in recursive mode. When the tree exceeds GitHub's hard limit the response sets truncated=True — callers should treat the listing as incomplete.

  • Scope required: integrations:read.
  • Requires the repository to be accessible to the caller's GitHub App installation.

Request

Responses

Successful Response