The api insert is implemented as RESTful. and most supported methods are based on ids, folder_id, or file_id.
As the starting point, the root folder identifier, 0, indicates the root directory of / All Files /.
from there (fold_id = 0), I can scroll through all the subfolders and find the folder ID for a specific target folder.
or I can send a search request https://api.box.com/2.0/search?query=target_folder_name "and process the response to find the target folder.
In the previous approach, several queries to the folder-folder may be required, and the latter approach may be slow, because the search refers not only to the folder / file name, but also to other attributes of the folder / file and even to the contents of the file.
I am wondering if there is an easy way to find the folder identifier for a specific folder with a given path, for example "/ All Files / MyFolder_A / Project_11".
Thanks so much for any help.
source
share