Getting the list of available deploys
GET /api/v1/deploy/list
PARAMS
token: user token
RETURN
{
deploy: string deploy name,
can_undeploy: boolean value,
alerts: {
deploy: string deploy alerts,
undeploy: string undeploy alerts,
}
}
Launching a deploy
POST /api/v1/deploy
PARAMS
token: user token,
deploy: string deploy name,
(host: string hostname)*
(hostgroup: string hostgroup name)*
*choose one
RETURN
task: integer task id
Un-deploying a deploy
POST /api/v1/undeploy
PARAMS
token: user token,
deploy: string deploy name,
(host: string hostname)*
(hostgroup: string hostgroup name)*
*choose one
RETURN
task: integer task id