A Oneflow account contains Workspaces, which can have folders containing one or more documents.

Folder attributes

The table below contains the list of all the attributes available for a folder within a Workspace.

AttributeTypeDescription
_permissionsobjectThe permission attributes for the folder. See Permission attributes.
idintegerThe unique ID of the folder.
namestringThe name of the folder.
parent_idintegerThe ID of the parent folder.
patharray of integersThe path to the folder.
workspace_idintegerThe ID of the workspace folder belongs to.

Permission attributes

The table below contains the list of all the attributes available for a folder within a Workspace.

AttributeTypeDescription
folder:contractbooleanIndicates whether the folder can contain contracts.
folder:deletebooleanIndicates whether the user is allowed to delete the folder and its contents.
folder:sub_folder:createbooleanIndicates whether the user is allowed to create sub-folders inside the folder.
folder:updatebooleanIndicates whether the user is allowed to perform updates to the folder.