Skip to content

Add raw content

This API allows developer to write the te a file or update the file by keeping the previous version of the existing file.

Request

POST: {base_url}/:networkID/:appID/files/text

Headers
Learn how to pass authentication headers here.

Parameters

Parameters Type Description
text string The raw text content of the file
fileName string The absolute path of the file where the file will be stored.
keepPrevious boolean Set to true to keep the previous version of the file.
replication int Number of the copies to be existing in the system
createFolders boolean Set to true to create directories if they don’t exist.
encryptionType int The encryption type for the file (see encryption types).