v13
OpenAPI 3.1.02026-08-033122950.3 KBbuckets
List files
get/api/buckets/{namespace}/{repo}/tree/{path}
Path parameters
namespacestring required
repostring required
pathstring required
Wildcard path parameter
Query parameters
limitinteger
cursorstring
Pagination cursor
recursiveboolean
When false, returns collapsed directory entries instead of listing all files recursively. The number of entries returned can then be less than the limit, but there will always be a pagination link if there are more entries. Note: non-recursive listing hasn't a strong consistency guarantees.
sort'path' | 'uploadedAt'
Sort order. path (default) sorts lexicographically; uploadedAt sorts by most recent upload first. In recursive mode uploadedAt is only supported at the bucket root (no path prefix). In non-recursive mode, only supported at root or exact folder prefixes.
direction'asc' | 'desc'
Sort direction. Defaults to asc for path and desc for uploadedAt.
Response
List of files and directories