Frage

I basically want to delete all versions except for the currently designated version of the file.

For that I am using BoxClient.getFilesManager().getFileVersions(_fileId, reqObj);

The first entry in the returned List<BoxFileVersion> object is the current version.

There doesn't seem to be any API in the Box SDK (for Java) to delete a version - is this being planned soon ? Is there a better way ?

War es hilfreich?

Lösung

The SDK is open-sourced on github. If you feel like it, you can submit a pull request with your change to add in version delete. How to do it is documented in the API documentation.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top