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?

mesqueeb
  • 5,277
  • 5
  • 44
  • 77
  • [Cross-linking for reference: https://www.dropboxforum.com/t5/API-support/How-to-access-read-write-advanced-file-EXIF-metadata-in-the/m-p/214212#M10957 ] – Greg Apr 03 '17 at 12:29

1 Answers1

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.

mesqueeb
  • 5,277
  • 5
  • 44
  • 77