Forum Discussion

dega's avatar
dega
Explorer | Level 4
9 years ago
Solved

API V2 Modified date for specific revision of a file in Python

Hi, I am trying to get the metadata for a specific revision of a file,  with V1 I used to do:   metadata = client.metadata(FileName, list=False, file_limit=1, hash=None, rev=revN, include_deleted...
  • Greg-DB's avatar
    Greg-DB
    9 years ago

    In this example, you would call like this:

     

    dbx.files_download('rev:2bc3d561afc23')

    You don't need to specify the file path itself. You just need the "rev:abc123" format. The rev string actually identifies the file without the use of the path.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

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!