Get file tree snapshot. Either one of workspace, branch or commit ID needs to be specified as ref ID.
Request
- Base URLhttps://api.diversion.dev/v0
- AuthOAuth 2Implicithttps://auth.diversion.dev/oauth2/authorizeScopescoreapi/write
Path parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
An ID of a workspace, branch or commit.
Query parameters
Specifies if to recursively iterate file tree to next directory levels
Skip a number of items returned from a listing api
Limit the number of entries returned from walk
Offset item name in directory when iterating its entries (non-inclusive)
Should the tree contain also deleted items or omit them from response
An ordinal ID of a workspace journal entry
The ordinal ID of the journal entry the walk references, if applicable
A query string to test against item name, only matching items will be collected
Return only directories in the file tree walk
Response
Success
Example response
{
"items": [
{
"path": "hello.cc",
"blob": {
"storage_uri": "repo_id/2aae6c35c94fcfb415dbe95f408b9ce91ee846ed"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.