POST /stacks/prodblueStatus
- This API call shuts down or starts up tasks for the prod-blue environment
- It returns 200 if the tasks are been stopped/started
- It returns 400 if the parameters are missing or invalid
- applicationName (required)
- This will be the application name for which the tasks needs to be stopped/started
- environment (required)
- This will be the environment for which the tasks needs to be stopped/started
- action (required)
- This will be the type of action that needs to be performed on tasks. Valid values: stop/start
- 200
- message
- The Tasks for given application and environment has been stopped/started
- message
- 400
- errorMessage
- Parameter is not present
- Parameter cannot be empty
- errorMessage
POST https://yourcustomdevopsdomain.com/stacks/prodblueStatus Body:
{
"applicationName": "MyDevOpsAPI",
"action": "stop"
}
{
"message": "Environment MyDevOpsAPI-prod1 for Application MyDevOpsAPI is been Stopped"
}