downloadFileVersion

abstract suspend fun downloadFileVersion(fileId: String, versionId: String): ByteArrayOutputStream

This method download a file version with a given file id and version id

Return

A ByteArrayOutputStream with the content of the downloaded file version

Parameters

fileId

The id of the file to get the version

versionId

The id of the version to be downloaded