Skip to content

Latest commit

 

History

History
44 lines (41 loc) · 1.23 KB

deploytoprodbluewest.md

File metadata and controls

44 lines (41 loc) · 1.23 KB

Deploy to Prod Blue West Environment

POST /stacks/deploytoProdBlueWest

Description

  • 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

Parameters

  • applicationName (required)
    • This will be the application name to which the image needs to be deployed

Response

Success

  • 200
    • message
      • The parameter message displays "Deployed version x.x.x.x to "

Error

  • 400
    • errorMessage
      • The value contains the message in case some values of the object body are invalid or null
  • 409
    • errorMessage
      • The value contains the message in case application is not present or already deleted

Example

Request

POST https://yourcustomdevopsdomain.com/stacks/deploytoProdBlueWest Body:

{
	"applicationName": "MyDevOpsAPI"
}

Response

{
    "message": "Deployed version 1.0.0.0 to MyDevOpsAPI in ProdBlue West Environment"
}