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: 

Unable to get Server Modified time for files

Unable to get Server Modified time for files

vishnu
New member | Level 2

Greetings ,

 

I am using swift version of dropbox api . I call  files/list_folder  to get details about the files i saved. But api returns a Files.Metadata object which dosenot have the server_modified details. Is there a way to get this details ?

1 Reply 1

Re: Unable to get Server Modified time for files

Greg-DB
Dropboxer

To access FileMetadata.serverModified, you need to first cast Metadata to FileMetadata. There's an example of doing so here:

 

https://github.com/dropbox/SwiftyDropbox#response-handling-edge-cases

Who's talking

Top contributors to this post

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