Deployments
Start a deployment
POST
Use this endpoint to start a deployment. The deployment will be started asynchronously and you can use the /deployment endpoint to check the status of the sub-deployments.
POST /otto/api/deployment Request body
application/json- body
abortRemaining?booleanAbort remaining deployments if one fails
chainedAction?||array<|>deployments*array<>Array of deployments to be run. These are run in the sequence they are provided.
label*stringbatch label, used only for descriptive purposes
scheduled*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.
Match
^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])POST /otto/api/deployment Positive response
application/json- response
messages*array<>response*|curl -X POST 'https://your.server.net/otto/api/deployment' \ -H 'Content-Type: application/json' \ -d '{ "deployments": [ { "fileOperations": [ { "clone": { "fileName": "string", "password": "string", "user": "string" }, "dataSource": { "fileName": "string", "password": "string", "user": "string" }, "operation": "migrate", "target": { "fileName": "string" } } ], "source": { "type": "url", "url": "http://example.com" } } ], "label": "string", "scheduled": true, "timestamp": "string"}'Example Response
{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?