user606521
user606521

Reputation: 15434

Does /revisions API return latest revisions?

There is /revisions API described here https://www.dropbox.com/developers/core/docs#revisions.

rev_limit Default is 10. Max is 1,000. When listing a file, the service won't report listings containing more than the amount specified and will instead respond with a 406 (Not Acceptable) status response.

Does it mean that if I will update file on my dropbox more than 1000 times then I wont be able to get any revision history of this file using DropBox Core API?

If there is a limit of 1000 revisions why this api wont just return LAST 1000 revisions instead of returning NOTHING when there is more than 1000 revisions??

Upvotes: 1

Views: 101

Answers (1)

user94559
user94559

Reputation: 60143

In actuality, this endpoint will returned the most recent n revisions, up to rev_limit. I'm updating the documentation to match.

Upvotes: 2

Related Questions