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|null

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

Formatdouble
Range-1.7976931348623157e+308 <= value <= 1.7976931348623157e+308

Request Body

application/json

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

deleteExistingBuild?boolean
Defaultfalse

Response Body

application/json

application/json

curl -X POST "https://your.server.net/otto/api/build/db/-1.7976931348623157e+308/rerun" \  -H "Content-Type: application/json" \  -d '{}'
{
  "response": {
    "ok": true,
    "message": "string",
    "ottofmsId": -1.7976931348623157e+308
  },
  "messages": [
    {
      "code": 0.1,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}