Folders
Folders are the organization structure for files in Workspaces. You can create, update, download, and delete folders. You can also list all items in a folder.
Workspaces contain a special folder which is referred to as the root folder, which you can read. This folder contains all items found in the root of a Workspace.
post
https://ws-api.onehub.com
/workspaces/:workspace_id/folders/:folder_id/folders
Create a Folder
If a folder name contains characters that would render it invalid, the name will be automatically changed to one that is valid. For example folder/name would be changed to folder-name.
get
https://ws-api.onehub.com
/workspaces/:id/folders
Read a Root Folder
get
https://ws-api.onehub.com
/folders/:id
List Folder Contents
get
https://ws-api.onehub.com
/folders/:id/archive
Download a Folder
put
https://ws-api.onehub.com
/folders/:id
Rename a Folder
delete
https://ws-api.onehub.com
/folders/:id
Delete a Folder
Last modified 1yr ago