Promote deployment
Promote to chain environment
Promotes an existing chain deployment to an environment and returns the promoted chain deployment.
Authorizations
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Body
application/json
A request to promote a deployment to a environment.
The id of the chain deployment to promote
Whether to scale down the previous deployment after promoting
Response
200 - application/json
A deployment of a chain.
Unique identifier of the chain deployment
Time the chain deployment was created in ISO 8601 format
Unique identifier of the chain
Environment the chain deployment is deployed in
Chainlets in the chain deployment
Status of the chain deployment
Available options:
BUILDING
, DEPLOYING
, DEPLOY_FAILED
, LOADING_MODEL
, ACTIVE
, UNHEALTHY
, BUILD_FAILED
, BUILD_STOPPED
, DEACTIVATING
, INACTIVE
, FAILED
, UPDATING
, SCALED_TO_ZERO
, WAKING_UP