Publishing

Get deployment build status

Returns the preview revision, available page routes, publish availability, and build state for the selected head or published source version. Fails with 404 when target=published is requested for a never-published website.

post/websiteSourceCode/deployment/status

Request

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

Request body

websiteIdstring required
target'head' | 'published' required

Response

Deployment state for the resolved source version.

websiteIdstring required

Id of the website.

sourceVersioninteger required

Source version resolved from target.

previewRevisionstring required

Opaque value that changes when the preview should be refreshed.

hasPagesboolean required

Whether the resolved source version contains at least one page.

canPublishboolean required

Whether this preview is ready and has not already been published.

Changes

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