Folder
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.
| Attribute | Type | Description |
|---|---|---|
| _permissions | object | The permission attributes for the folder. See Permission attributes. |
| id | integer | The unique ID of the folder. |
| name | string | The name of the folder. |
| parent_id | integer | The ID of the parent folder. |
| path | array of integers | The path to the folder. |
| workspace_id | integer | The 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.
| Attribute | Type | Description |
|---|---|---|
| folder:contract | boolean | Indicates whether the folder can contain contracts. |
| folder:delete | boolean | Indicates whether the user is allowed to delete the folder and its contents. |
| folder:sub_folder:create | boolean | Indicates whether the user is allowed to create sub-folders inside the folder. |
| folder:update | boolean | Indicates whether the user is allowed to perform updates to the folder. |
Updated about 1 month ago
