get https://api.shift.io/v3/folders
Returns all folders in a workspace
This call returns an array of all the folders, including subfolders, to which you have access in a workspace. Here is an overview of the properties returned for each folder:
id | The folder’s id |
name | The folder’s name. To edit a name, please see Update folder. |
parentId | If the folder is nested inside another folder (the “parent” folder), then this is the id of the parent folder. If parentId is blank, then the folder lives at the top level of the project’s folder structure. |
parentNumericId | The integer id of the parent folder. If the folder does not have a parent folder, then this value is 0. |
projectId | The id of the project in which the folder is located |
numericId | The integer id of the folder |
projectNumericId | The integer id of the project in which the folder is located |
folderCount | The number of subfolders inside the folder. This count only includes the subfolders at a folder’s top level; any additional subfolders found inside the subfolders are not counted. |
assetsCount and size | These properties are returned with a value of 0, since MediaSilo does not calculate them at this time. |