Create a build
POST /otto/api/build Request body
application/json- body
buildId*string"build_id_missing"chainedAction?||array<|>closeFiles?booleanClose files before backing up. This setting is ignored for clones. If the file is encrypted, it will be closed and reopened with the encryption key.
falsecompressionLevel?integerThe compression level used by OttoFMS to compress the build zip. Higher values of this will make the zip smaller but will use more resources. Lower values will keep the .zip file big but will use less resources.
-1 <= value <= 90ensureFilesOpen?booleanIf true, OttoFMS will ensure that the files are open at the end of the build. This is useful if the files were closed when the build started but you want to ensure they are open when the build is complete.
falsefileConfig?||If provided, OttoFMS will collect file configuration (notes, webhooks, MCP servers) and include it alongside each file in the manifest.
files*array<>Array of FileMaker files to include in the build
1 <= itemsforce?booleanfalseincludeContainerData?booleanIf true, OttoFMS will add external container data for copies to the build. This is useful for installations that need to preserve container data.
falseincludeCredentialsInManifest?booleanIf true, the credentials will be included in the manifest. This is primarily useful for public builds that need credentials to be available with the files.
falsememoryLevel?integerThe amount of memory used by OttoFMS to zip the build. Higher values will let the process use more memory to zip and will make the process faster. Lower values will use less memory and will make the process slower.
1 <= value <= 91notifications?unknownpostDeploymentScript?Script to be run after deployment (stored in manifest for future use)
preBuildScript?Script to be run before files are closed or backed up
preDeploymentScript?Script to be run before deployment (stored in manifest for future use)
publish?textFiles?array<>Array of text files to include in the build zip
zipFiles?booleanIf true, OttoFMS will zip the files. If false, OttoFMS will not zip the files. If this is false, the build will only work for local deployments or actions, not for remote deployments or for publishing elsewhere using OttoFMS.
truescheduled*booleanboolean to determine whether or not to schedule the deployment(s) for later
timestamp*stringtimestamp to use to schedule the deployment. See Claris FileMaker scheduling API docs for formatting.
^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])POST /otto/api/build Positive response
application/json- response
messages*array<>response*|curl -X POST 'https://your.server.net/otto/api/build' \ -H 'Content-Type: application/json' \ -d '{ "buildId": "build_id_missing", "files": [ { "fileName": "string" } ], "scheduled": true, "timestamp": "string"}'{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?