Artboard
Builds

Rerun build from database

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

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

Path Parameters

buildId*number

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

Request Body

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

application/json
  1. body
deleteExistingBuild?boolean
Defaultfalse

Response Body

POST /otto/api/build/db/:buildId/rerun Positive response

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

Was this page helpful?