Skip to main content
GET
Get source version summary

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Query Parameters

websiteId
string
required
Minimum string length: 1

Response

Draft and published version summary for the website.

websiteId
string
required

Id of the website.

headVersion
integer
required

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

publishedVersion
integer | null
required

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

hasUnpublishedChanges
boolean
required

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