v14

latestOpenAPI 3.1.02026-08-043122950.3 KB
models

List folder content

List the content of a repository tree, with pagination support.

get/api/models/{namespace}/{repo}/tree/{rev}/{path}

Path parameters

namespacestring required
repostring required
revstring required
pathstring required

Wildcard path parameter

Query parameters

expandboolean

If true, returns returns associated commit data for each entry and security scanner metadata.

recursiveboolean

If true, returns the tree recursively.

limitinteger

1.000 by default, 100 by default for expand=true

cursorstring

Response

List of entries in the repository tree

type'file' | 'directory' | 'unknown' required
oidstring required
sizeinteger

If the file is a LFS pointer, it'll return the size of the remote file

xetHashstring