<!doctype html>
The content of the draft at the time this version was saved
Timestamp for the creation of the version
The Draft object related to the version. Typically not needed, as versions are accessed through the versions
property of a draft.
Unique identifier of this version
Delete the version. This is permanent and should be used with caution
Generated using TypeDoc
Version
Version objects represent individual versions in a draft's version history. Versions are accessed using the
versions
property of the Draft object.// loop over versions of a draft, keeping only most recent 3 if (draft.versions.length > 3) { let versions = draft.versions.slice(3); for (let version of versions) { version.delete(); } }