Publish the head version
Validates, builds, and publishes head. Canonical formatting may create a new head first. Pass the version the check returned to refuse publishing a draft that changed since. Takes the edit lease when no leaseToken is sent.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Body
1Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor.
1Version returned by websiteSourceCode.head.check. Publishing refuses when the draft changed after that check.
x <= 9007199254740991Response
The published version now live and its serving deployment.
Id of the website.
Source version now live.
true when canonical formatting was committed as a new head version before publishing; re-read affected files before further edits.
The ready deployment now serving the site.