dev.knotless.listPaths
Every path in a repository's tree at a revision, folders as well as files, the shallowest first: for finding a file by name as it is typed. No authentication needed; asked as an account, with a service token or the pages' session cookie, a private repository it is a member of is read too, and the answer is that account's alone.
Details · query
| Kind | query |
|---|---|
| Authority | knotless.dev |
| Indexed |
Query
query · GETParameters
query stringlimit
integerThe most paths to give: those deepest in the tree are left out first.
minimum: 1maximum: 50000default: 50000
ref
stringA branch, a tag or a commit; the default branch if absent.
maxLength: 1024
The repository's dev.knotless.repo record. Its authority may be a handle; a name the repository had before, or an owner it moved from with its agreement, finds it under the name it has now.
Output
application/jsonErrors
NotFound
No such repository or revision, or a repository never pushed.
#pathView
objectOne path in a tree.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.getTree
queryA directory of a repository at a revision.
-
dev.knotless.getFile
queryOne file of a repository at a revision.
-
dev.knotless.listCommits
queryA repository's history.
-
A repository's branches.
-
The newest commit to change each entry of a directory.