Options
string
Branch name or commit SHA. Defaults to the default branch.
boolean
When
true, resolves the ref under the ephemeral namespace.string
Repository-relative file or subtree to list. An exact file path returns that file as a single
blob entry.boolean
For subtree paths, when
false, returns direct children of path.string
Pagination cursor from a previous response.
number
Maximum entries to return.
Response
array
List of file paths in the repository
string
The resolved ref that was listed
array
Structured tree entries returned with the listing.
string
Cursor for the next page. Python:
next_cursor; Go: NextCursor.boolean
Whether additional pages are available. Python:
has_more; Go: HasMore.