You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

janhec's avatar
janhec
Helpful | Level 6
5 years ago

Easiest way to get (dropbox) file datetime using a dropbox link

Hi All, I share a project I'm working on through some executables on dropbox, which users get a link to, so they can download. I prefer, obviously, that they have an account, so they will have au...
  • Greg-DB's avatar
    5 years ago

    Using the /2/sharing/get_shared_link_metadata endpoint is the right way to get metadata from a shared link, but that does require an access token, as you found. 

     

    There isn't another way to get the modified time of the file from the shared link directly, but you could instead use that "etag" value returned with that 200 response when accessing the shared link. You can store the etag for the version of the file you last downloaded, and before downloading it again, check the current etag value. If the etag value hasn't changed, that means that the content hasn't changed.