get https://api.shift.io/v4/sync/links//folders
Returns a list of folders in a link
This call requires a link id as a parameter and returns the folders contained in the link. If a 200 code and a blank response are returned, then the link may contain assets but no folders. For each folder, the following properties are returned.
id | This is the unique 32-character folder id. |
name | This is the name of the folder as it appears in Projects. |
parentId | If the folder is nested inside another folder (the “parent folder”), this is the id of the parent folder. If the parentId is blank, the folder lives at the top level of the project’s folder structure. |
projectId | This is the id of the project in which the folder lives. |
folderCount | This is the number of subfolders inside the folder. This count only includes subfolders at the folder’s top level. Any subfolders inside the subfolders are not counted. |
Note that assetsCount and size are also returned; however, these values are “0” because MediaSilo does not calculate them at this time.