cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Re: 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

Greg-DB
Dropbox Staff

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

Need more support?