Deployments

Record the definition of a deployment the console holds none for

Records the SDL of a deployment the console holds no definition for, such as one created before the console recorded definitions or created outside it. The SDL and its sealed secrets are taken as on create, and the secrets are stored the same way. The SDL is recorded only if it resolves to the manifest version the deployment already runs, so recording sends no deployment update and no manifest, and a closed deployment can be given its definition too. Afterwards the deployment reads back and takes patches like any other. To apply an SDL that differs from what the deployment runs, update the deployment with it instead.

post/v1/deployments/{dseq}/definition

Path parameters

dseqstring required

Deployment sequence number

Deployment sequence number

Request body

Response

The definition was recorded, as GET /v1/deployments/{dseq} now returns it

Changes

Changed in 1 of the 64 revisions of this API.1