Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
eouia
8 years agoNew member | Level 2
`filesSearchMatch` has no `media_info`?
I'm using Dropbox Javascript SDK. In documentation, (http://dropbox.github.io/dropbox-sdk-js/global.html#FilesSearchMatch) `FilesSearchMatch` could have `FilesFileMetadata` and, `FilesFileMetadata`...
- 8 years ago
That behavior is correct. The `media_info` isn't available in FilesFileMetadata in FilesSearchMatch, as retrieved by filesSearch, unfortunately, but I'll pass this along as a feature request.
If you want the `media_info`, you should retrieve the metadata using filesGetMetadata or filesListFolder/filesListFolderContinue, and set include_media_info to true, i.e., in FilesGetMetadataArg for filesGetMetadata or FilesListFolderArg for filesListFolder.
Greg-DB
Dropbox Community Moderator
8 years agoThat behavior is correct. The `media_info` isn't available in FilesFileMetadata in FilesSearchMatch, as retrieved by filesSearch, unfortunately, but I'll pass this along as a feature request.
If you want the `media_info`, you should retrieve the metadata using filesGetMetadata or filesListFolder/filesListFolderContinue, and set include_media_info to true, i.e., in FilesGetMetadataArg for filesGetMetadata or FilesListFolderArg for filesListFolder.
- eouia8 years agoNew member | Level 2Thank you. I changed my code to use `filesGetMetadata` additionally.
But I think if `FilesSearchMatch` could provide `media_info` also would be nicer.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!