cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Find out how Tiffany, a Customer Experience superstar uses Dropbox to keep her family in the loop when it comes to her new baby here!

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

File created date is not listed

File created date is not listed

ajith_kumar2395
New member | Level 2

I am using list_folder api to get created dates for files it's listed in documentation inside file_lock_info param, But I am not getting this param for files 

https://api.dropboxapi.com/2/files/list_folder
"file_lock_info": {
                "is_lockholder": true,
                "lockholder_name": "Imaginary User",
                "created": "2015-05-12T15:50:38Z"
            }

 

1 Reply 1

Re: File created date is not listed

Greg-DB
Dropboxer

The 'file_lock_info' field is only returned for files that currently have a lock on them, and the 'file_lock_info.created' field would only indicate the time the current lock was created, not the creation time of the file itself. You can find more information on the different file metadata fields in the documentation for FileMetadata, e.g., under the return value of /2/files/get_metadata or /2/files/list_folder[/continue].

The Dropbox API doesn't return the original creation time for files. I'll send this along as a feature request, but I can't make any promises as to if or when that would be added.

Who's talking

Top contributors to this post

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