POST /stacks/deploytoTrainDA
- This API call deploys image to Training/DA environments
- It by default picks the version that was been deployed to non production environments of the application
- It returns 200 if the image is deployed
- It returns 400 if the parameters are missing or invalid
- It returns 409 if stack does not exists
- applicationName (required)
- This will be the application name to which the image needs to be deployed
- 200
- message
- The parameter message displays "Deployed version x.x.x.x to "
- message
- 400
- errorMessage
- The value contains the message in case some values of the object body are invalid or null
- errorMessage
- 409
- errorMessage
- The value contains the message in case application is not present or already deleted
- errorMessage
POST https://yourcustomdevopsdomain.com/stacks/deploytoTrainDA Body:
{
"applicationName": "MyDevOpsAPI"
}
{
"message": "Deployed version 1.0.0.0 to MyDevOpsAPI in Training and DA Environment"
}