repository

List Files

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

Request

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

Changes

No recorded changes to this operation across all 10 revisions of this API.