cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

unable to get all Image details information from Metadata (media_info)

unable to get all Image details information from Metadata (media_info)

purnasomebody
Explorer | Level 4
Go to solution

how to get all the Image details information from metadata using api v2. In api v1 we were able to get  below information but now how we can able to get these kind of infromation from V2.

example:

"contents": [
{
"size": "2.3 MB",
"rev": "38af1b183490",
"thumb_exists": true,
"bytes": 2453963,
"modified": "Mon, 07 Apr 2014 23:13:16 +0000",
"client_mtime": "Thu, 29 Aug 2013 01:12:02 +0000",
"path": "/Photos/flower.jpg",
"photo_info": {
"lat_long": [
37.77256666666666,
-122.45934166666667
],
"time_taken": "Wed, 28 Aug 2013 18:12:02 +0000"
},
"is_dir": false,
"icon": "page_white_picture",
"root": "dropbox",
"mime_type": "image/jpeg",
"revision": 14511
}
],

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

To retrieve the additional media information for a media file like this via API v2, call /2/files/get_metadata with include_media_info:true. If the media information is available for the file, it will be included in the FileMetadata.media_info in the response.

View solution in original post

3 Replies 3

Greg-DB
Dropbox Staff
Go to solution

To retrieve the additional media information for a media file like this via API v2, call /2/files/get_metadata with include_media_info:true. If the media information is available for the file, it will be included in the FileMetadata.media_info in the response.

purnasomebody
Explorer | Level 4
Go to solution

@Greg-DB  Thanks 
Yes I am able to get the additional info like location, dimension, timetaken. Can i get other information too ? like shutter speed, aperture etc we can get this infromation from Dropbox UI but i need to get it from API Is that possible?image.png

Greg-DB
Dropbox Staff
Go to solution

No, unfortunately the Dropbox API doesn't expose these additional fields, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

If you want to retrieve this information, you'd need to download the file and parse out that data from the file.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    purnasomebody Explorer | Level 4
What do Dropbox user levels mean?