Each time a page or endpoint is published, an immutable snapshot (published version) is stored; the default version is what readers see. Use these endpoints to list versions, roll back to another version, edit a snapshot, or delete old versions.
List Published Versions — GET https://api.docstar.io/published-version/:pageId
Set Default Published Version — POST https://api.docstar.io/published-version/:pageId
Update Published Version — PUT https://api.docstar.io/published-version/:pageId/:versionNo
Delete Published Version — DELETE https://api.docstar.io/published-version/:pageId/:versionNo
Add it to your AI in one click, or copy the instructions and tell it what you want to build.
Paste into your AI and tell it what you want to build.