invantive documentation
Invantive Support ForumsLog In / Sign Up

FolderTrees: Nextcloud itgen_ncl_foldertrees_plural

read only REST

  • Catalog: Files
  • Schema: Files
  • Label: itgen_ncl_foldertrees_plural

Returns the folder tree of the user

Can only retrieve data.

API Source

  • Endpoint: /ocs/v2.php/apps/files/api/v1/folder-tree
  • Operation: get /ocs/v2.php/apps/files/api/v1/folder-tree

Performance Characteristics

Characteristic Value
Average access latency (ms) 305
Full scan rows per minute 18,900

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
depth `` The depth of the tree
path `` The path relative to the user folder
withParents `` Whether to include parent folders in the response

Table Columns

The columns of the table FolderTrees are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
basename varchar2 itgen_ncl_basename filters on the platform, writable, basename
displayName varchar2 itgen_ncl_displayname filters on the platform, writable, displayName
id int64 itgen_ncl_id filters on the platform, writable, id