cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

Client modified/Server modified when editing the file

Client modified/Server modified when editing the file

terezakloboucek
Helpful | Level 5

Hello folks,

I am using Dropbox with your API.

When I change an already existing file (for example I have a document which I update to new version), the fields "client_modified" and "server_modified" change to the date when this happened. 

What is the meaning of the fields "client/server modified"? When I restore the file, then only the "server_modified" changes and the "client_modified" stays unchanged.

Is the meaning of the fields below correct?

client_modified = created time

server_modified = modified time

Is it possible to get the information whether the file had been modified in the past?

Thank you in advance

Tereza

1 Reply 1

Re: Client modified/Server modified when editing the file

Greg-DB
Dropboxer

Those descriptions aren't quite right. You can find the official descriptions in the documentation for the FileMetadata object, e.g., as returned by /2/files/upload.

In short, they're both the modified time of the file. The 'client_modified' time is the time as supplied by the client that uploaded the file, if any, and the 'server_modified' time is the time on the Dropbox servers when the file was uploaded. The Dropbox API does not return file creation time.

You can get a history of file changes from the /2/files/list_revisions endpoint.

By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints. 

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?