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.

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

Greg-DB
Dropbox Staff

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?