Skip to content

Latest commit

 

History

History
44 lines (41 loc) · 1.18 KB

deploytotrainda.md

File metadata and controls

44 lines (41 loc) · 1.18 KB

Deploy to Training/DA Environments

POST /stacks/deploytoTrainDA

Description

  • 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

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/deploytoTrainDA Body:

{
	"applicationName": "MyDevOpsAPI"
}

Response

{
    "message": "Deployed version 1.0.0.0 to MyDevOpsAPI in Training and DA Environment"
}