CreateFile

AccessToken

Create a file.

Endpoint

POST /createFile

Parameter

FieldValue
accessTokenaccessToken set in the Config

Body

FieldValueType
filefile name to create (full path)string
datathe Data (most likely text) to save to the created filestring
encoding(optional)Encoding to save in (e.g. ascii)string
test (optional)Only log the file action but don't execute it for testing purposestrue

Response

200

Status: 200
"success"

400

"Error Text"