Artboard
Builds

Rerun build from database

Create a new build using the configuration from an existing build in the database

POST
/otto/api/build/db/{buildId}/rerun

Path Parameters

buildId*number

POST /otto/api/build/db/:buildId/rerun Parameter

Request Body

application/json

POST /otto/api/build/db/:buildId/rerun Request body

deleteExistingBuild?boolean

Response Body

application/json

application/json

curl -X POST "https://your.server.net/otto/api/build/db/0/rerun" \  -H "Content-Type: application/json" \  -d '{}'
{
  "response": {},
  "messages": [
    {
      "code": 0,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}