Artboard
Builds

Publish Build

Publish a build to another server or an offsite location

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

Path Parameters

buildId*string

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

Request Body

application/json

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

destination*||||

Response Body

application/json

application/json

curl -X POST "https://your.server.net/otto/api/build/string/publish" \  -H "Content-Type: application/json" \  -d '{    "destination": {      "type": "server",      "serverUrl": "string",      "apiKey": "string"    }  }'
{
  "response": {
    "success": true,
    "message": "string",
    "uploadId": "string"
  },
  "messages": [
    {
      "code": 0.1,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}