Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
My app will display the full path of files. They look kinda strange (unfamiliar) when all lower-cased, which is all I seem to be able to access from a FileMetadata value. Is there any way to get the mixed-case path for a file with the v2 API?
Thank you!
[Cross-linking for reference: https://stackoverflow.com/questions/34667886/dropbox-v2-api-is-there-any-way-to-get-the-original-mix... ]
FileMetadata.name will contain the case-preserved name, so you would need to build the path up from that.
Thanks Gregory! I should have been clearer — I’m aware that I could walk up the path and get the full mixed-case name of each path segment, but that would require either many different HTTP requests or a sophisticated caching facility within my application. I’m wondering if there’s any way to retrieve this data with a single request — or even better, ideally, as a property in each FileMetadata value (e.g. in arrays).
If there’s no way to do this, I’d like to make this a feature request. Is there a formal way to do so?
Thanks!
Thanks for clarifying! No, there isn't a single call way to get it like that. I'll send this along as a feature request to the team though.
Got it, thanks Gregory! Happy new year!
Quick update, the FileMetadata object now contains a "path_display" property. You can read more about it in the documentation.
Wow, thanks Gregory! I really appreciate it!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!