WOPI OR API retrieve certain version of a file
Do you want to request a feature or report a bug? A feature.
What is the expected behavior?
OnlyOffice caches different versions of a file and provides the API GET api/2.0/files/file/{fileId} to get information of a give file. But there seems to be no API for getting the complete file of a version. Because of that we need to maintain all versions of a file on the storage server which OnlyOffice docs server already has.
DocumentServer version: 7.0.1
Operating System: Ubuntu 18.04
Storing file versions is outside of DocumentServer responsibilities and maintained by DMS
I'll transfer your issue to CommunityServer repo, since GET api/2.0/files/file/{fileId} this seems like CommunityServer request
Hello @tbswork1 Please describe what you want in more detail. Maybe this method will help you.
Hello @tbswork1 Please describe what you want in more detail. Maybe this method will help you.
This method returns meta data of a file version. What we need is to retrieve the physical copy of it.
You can download a specific version of file by this method. Will this suit you?
I haven't tried that yet but it says 'Returns the initialization configuration to open the editor.' in json?
Yes, it returns a link to the file where it can be downloaded.