david_adler
david_adler

Reputation: 10972

Dropbox API v2 get the original creator of a file

Is there anyway to get the original creator of a file?

Using /files/get_metadata I can get some sharing info:

"sharing_info": {
    "read_only": true,
    "parent_shared_folder_id": "84528192421",
    "modified_by": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
...

This tells me who was the last to modify the file but I am interested in who originally created the file.

Upvotes: 1

Views: 180

Answers (1)

user94559
user94559

Reputation: 60143

I believe that the best you can do is to use /files/list_revisions to walk back through the file's history. You can only go back as far as 100 revisions, though, so you won't be able to find the original creator of a file that's been modified more than 100 times.

Upvotes: 1

Related Questions