In the project I make a simple file manager. I have to make a breadcrumbs. For this I need to be able to get a correct path to parent folder or an id of parent folder.
The issue is that I can not take this path from the path of current folder because the path of the current folder (that I get from Dropbox) often is not correct (it has lowercase letters in place of uppercase). If I want to get the metadata of file or folder by such path then Dropbox returns nothing. This is very strange (and bad) because you say that Dropbox is not sensetive to letters.
So I found solution. I get files and folders by there id.
But now I have another problem. How can I get the id of parent folder (I can not use path returned by Dropbox because it is wrong)?