Artboard
Builds

Publish Build

POST
/otto/api/build/{buildId}/publish

Publish a build to another server or an offsite location

Path Parameters

buildId*string

POST /otto/api/build/:buildId/publish Parameter

Request Body

POST /otto/api/build/:buildId/publish Request body

application/json
  1. body
destination*||||

Response Body

POST /otto/api/build/:buildId/publish Positive response

application/json
  1. response
messages*array<>
response*
Example Request
curl -X POST 'https://your.server.net/otto/api/build/string/publish' \  -H 'Content-Type: application/json' \  -d '{  "destination": {    "apiKey": "string",    "serverUrl": "string",    "type": "server"  }}'
Example Response
{  "messages": [    {      "code": 0,      "text": "ok"    }  ],  "response": {}}

Was this page helpful?