Expand description
Content versioning service
Provides functionality for tracking content revisions, viewing history, comparing versions, and restoring previous versions.
Structs§
- Content
Version - A full snapshot of content at a point in time
- Diff
Line - A single line in a diff
- Version
Diff - Diff between two versions
- Version
Summary - Summary information for version history lists
Enums§
Functions§
- cleanup_
old_ versions - Clean up old versions, keeping only the most recent
keep_countversions - count_
versions - Count total versions for a content item
- create_
version - Create a version snapshot of the current content state. Call this BEFORE applying updates to preserve the previous state.
- diff_
versions - Generate a diff between two versions
- get_
latest_ version_ number - Get the latest version number for a content item
- get_
version - Get full version details by version ID
- get_
version_ by_ number - Get version by content ID and version number
- list_
versions - List versions for a content item, newest first
- restore_
version - Restore content to a previous version. Creates a backup version of current state first, then applies the old version.