v2

latestOpenAPI 3.0.3MIT2026-08-01678471.0 KB
repository

get/api/repos/{namespace}/{repository}/branch/{tree}/files

Path parameters

namespacestring required

Repository namespace (user or organization)

repositorystring required

Repository name

treestring required

Branch name (short form like 'main', or full ref like 'refs/heads/main')

Response

Recursive file listing with last commit info for each entry

truncatedboolean required

Whether the file listing was truncated due to exceeding the 10'000 entry limit