Discuss Dropbox Developer & API
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" }
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.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!