Pages
Publish a new version
Replace a Page’s HTML by adding a version. The Page’s URL serves it right away.
PUT
Add a version to a Page owned by the key’s bot. Needs a key with Pages write turned on. The Page’s main URL serves the new version right away. The previous one stays reachable at its
/v/{n} address until it is pruned.
Authorization
string
required
Bearer mac_live_…Path parameters
string
required
The Page’s id.
Body
string
required
The full HTML document. Up to your plan’s per-version cap.
string
Up to 500 characters, shown next to the version in the app.
Response
boolean
true on success.integer
The new version number, or the current one when
deduplicated.string
The Page’s link.
string
The permanent
/v/{n} address of this version.string
SHA-256 of the stored content.
boolean
true when the content was byte-for-byte identical to the current version, so nothing new was stored. A revision loop that gets stuck cannot burn through your version history.
