Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I'm using Dropbox Javascript SDK.
In documentation, (http://dropbox.github.io/dropbox-sdk-js/global.html#FilesSearchMatch)
`FilesSearchMatch` could have `FilesFileMetadata` and, `FilesFileMetadata` could have `media_info` optionally.
But all my '.jpeg' photos which were taken from cameras(many kinds) have no `media_info` field in `metadata`.
Is it right?
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.
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.
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!