Artboard
Deployments

Start a deployment

POST
/otto/api/deployment

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.

Request Body

POST /otto/api/deployment Request body

application/json
  1. body
abortRemaining?boolean

Abort 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*string

batch label, used only for descriptive purposes

scheduled*boolean

boolean to determine whether or not to schedule the deployment(s) for later

timestamp*string

timestamp 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])

Response Body

POST /otto/api/deployment Positive response

application/json
  1. response
messages*array<>
response*|
Example Request
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?