2

How to access (read/write) advanced file metadata in the Dropbox JavaScript API?

I'm talking about things like e.g.: MacOS file tags. Or the camera model inside the EXIF data.

Please note that dbx.filesGetMetadata(arg) does not provide very detailed metadata... Almost only dropbox specific metadata actually.

Any ideas?

1

1 Answer 1

1

Kudos to Greg.

The Dropbox API unfortunately doesn't natively return Mac OS file metadata/xattrs, or the full EXIF information for a file. The Dropbox API currently only natively returns a few pieces of basic media information in FilesFileMetadata.media_info, e.g., if you set FilesGetMetadataArg.include_media_info to true when calling filesGetMetadata or filesListFolder/filesListFolderContinue.

To get any other metadata embedded in the file content, you'll need to download the file content and parse it out client-side.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.