Source code

Get source version summary

Returns headVersion, publishedVersion, and whether the website has unpublished source changes.

get/websiteSourceCode/summary

Request

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

Query parameters

websiteIdstring required

Response

Draft and published version summary for the website.

websiteIdstring required

Id of the website.

headVersioninteger required

Current draft source version. Starts at 1 and increments with every content-changing edit.

publishedVersioninteger nullable required

Source version currently published. null when the website has never been published.

hasUnpublishedChangesboolean required

Whether head differs from the published version (always true before the first publish).

Changes

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