VersionedFile

VersionedFile management functions

Methods

P_versioned_file_content(fileId, algorithm, charset) → {string}

Read the content of an versioned file in the mode and the version of the execution context

Read the content of a versioned file uploaded on the platform, after applying the indicated encoding. The revision of the file is taken from the request (same execution mode and same version).
Parameters:
Name Type Argument Default Description
fileId string Identifier of the verisoned file to be read
algorithm algorithm Encoding algorithm.
charset string <optional>
UTF-8 Character set of the content to be read. More information about charset
Returns:
VersionedFile content
Type
string