FileMaker Files
Encrypt FM File
Request Body
application/json
POST /otto/api/fm-file/encrypt Request body
username?string
password?string
sharedID?string
currentEncryptionKey?string
encryptionKey?string
encryptionKeyHint?string
openStorage?boolean
force?boolean
sourceFile*string
File name to encrypt in the FileMaker format
inPlace*boolean
Whether to encrypt the file in place
Response Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/fm-file/encrypt" \ -H "Content-Type: application/json" \ -d '{ "username": "string", "password": "string", "sharedID": "string", "encryptionKey": "string", "force": true, "sourceFile": "string", "inPlace": true }'{
"response": {
"ok": true,
"message": "string"
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}