cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

API V2 : Metadata of file which is moved to other folder.

New member | Level 2
New member | Level 2

In API v2, Is it possible to obtain Metadata of a file which is moved to different folder using old file path. It was possible in API v1.

1 Reply 1
Highlighted

Re: API V2 : Metadata of file which is moved to other folder.

Dropboxer
Dropboxer
In API v2, you can look up the information for a "deleted" file (including a file which was actually just moved) using /2/files/get_metadata:

https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata

If you set include_deleted=true, it will return the metadata for the file at the old location. Note that this will give you a DeletedMetadata object, not the full Metadata object.

If you store the file's ID though, you can get the full current metadata, regardless of its current path, by supplying the ID in the 'path' parameter to /2/files/get_metadata.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?