We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Adam B.39
2 years agoExplorer | Level 4
Use /get_thumbnail_v2 in <img> tag together with Dropbox-API-Path-Root
Hey,
We've had an internal tool working fine for a few years. But we recently switched to the new team space experience. I managed to sort the file listing and everything out by setting the headers `Dropbox-API-Path-Root` and `Dropbox-API-Select-User`.
But previously we were able to use the `/2/files/get_thumbnail_v2` endpoint together with the `authorization` query parameter directly on a <img> tag in the browser. But now it no longer works, because I can't find a way to set `Dropbox-API-Path-Root` and `Dropbox-API-Select-User` as query parameters. As far as I understand it they can only be set as headers. When creating `<img>` tags I can't set headers.
Any idea if it is possible to pass the path root and user as query parameters? Or if I'm doing something wrong?
There are also 'path_root' and 'select_user' URL parameters for those headers, respectively. They work like the 'authorization' header, in that the value would be the same value as passed to the corresponding header, plus the necessary URL encoding.
These aren't officially documented, but I'll ask the team to document them.
- Greg-DBDropbox Staff
There are also 'path_root' and 'select_user' URL parameters for those headers, respectively. They work like the 'authorization' header, in that the value would be the same value as passed to the corresponding header, plus the necessary URL encoding.
These aren't officially documented, but I'll ask the team to document them.
- Adam B.39Explorer | Level 4
Thanks for the quick reply! Works like a charm.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 44 minutes agoIf you need more help you can view your support options (expected response time for an email or 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!