I am trying to fetch all the versions of a file using the Rest API endpoint - GET/v1/files/:key/versions
But I am getting only the latest 25 versions. How can I fetch all the versions of a file?
Thanks in advance.
I am trying to fetch all the versions of a file using the Rest API endpoint - GET/v1/files/:key/versions
But I am getting only the latest 25 versions. How can I fetch all the versions of a file?
Thanks in advance.
The GET file versions
endpoint returns an object with versions
and pagination
. Use the URL from pagination.next_page
to get previous versions.
Also note:
Members of Starter teams can only view 30 days of a file’s version history. Members of Professional and Education teams or organizations can access a file’s entire version history.
Source: Help Center
Thank you. This helped! 😀
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.