Get path for a folder

Returns a folder’s file path in MediaSilo

This call requires a folder id as a path parameter, and it returns the corresponding folder’s file path. The path is returned in the form of an array that starts with the project containing the folder and is followed by the folder and subfolders (if any) that lead to the folder whose id you entered. The array ends with the folder whose id you entered.

The response contains the id and name of each project and folder. The type property is either “Project” or “Folder.”

A query parameter allows you to limit the number of subfolders returned. For example, if a folder is located ten-folders deep in a project’s folder structure, adding ?depth=2 will only return the last two folders in the file path, followed by the folder whose id you entered.

Click Try It! to start a request and see the response here!