Publishing

Ensure a deployment build

Returns an existing non-failed deployment for the selected version or builds one. Poll status when another request is already building it.

post/websiteSourceCode/deployment/ensure

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/websiteSourceCode/deployment/ensure
  • Auth: HTTP bearer

Request body

websiteIdstring required
target'head' | 'published' required

Response

The ensured deployment for the resolved source version.

websiteIdstring required

Id of the website.

sourceVersioninteger required

Source version resolved from target.

Changes

No recorded changes to this operation across all 1 revision of this API.