Deployments
Rerun a Deployment or Sub-deployment
Rebuilds the original deployment input and reruns the deployment with the same options. Can be used to rerun a full deployment or a specific sub-deployment
Request Body
application/json
POST /otto/api/deployment/rerun Request body
type*string
id*integer
deployment id to rerun
Range
0 < value <= 9007199254740991Response Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/deployment/rerun" \ -H "Content-Type: application/json" \ -d '{ "type": "deployment", "id": 9007199254740991, "scheduled": true, "timestamp": "string" }'{
"response": {},
"messages": [
{
"code": 0,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}