Account & Organizations
Organization Users
Collections
Pages
Endpoints
Published Versions
Page Content & Versions
Environments
Webhooks
FAQs
Changelogs
AI Tools
Feedback
URL Mappings (Redirects)
UTM Analytics
Logs
API Tokens
MCP Server
Permissions
Embed
Import & Utilities
Public Docs APIs
Powered by DocStar
  1. API reference
  2. Published Versions

Published Versions

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

GET
List Published Versions
POST
Set Default Published Version
PUT
Update Published Version
DELETE
Delete Published Version
DDocstar · API documentation

Build with Docstar. Let AI do the rest.

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.

·
Published with DocStar