POST /stacks/deploytoProdBlueWest
- This API call deploys image to production blue environment in West Region
- It by default picks the version that was been deployed to production green environment of the application in the east region
- 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/deploytoProdBlueWest Body:
{
"applicationName": "MyDevOpsAPI"
}
{
"message": "Deployed version 1.0.0.0 to MyDevOpsAPI in ProdBlue West Environment"
}