Skip to main content

CMS - API Documentation

Overview

CMS endpoints manage cached content entries in countly.cms_cache.
They support saving transformed entries, reading entries by API ID, and clearing cache by prefix or globally.

Database Collections

CollectionUsed forData touched by this feature
countly.cms_cacheCMS cache storageEntry documents and _meta marker documents with lu / error.
countly.membersAuth and permission validationMember identity and access checks for read/write operations.

Key Behavior Notes

  • Read endpoint only accepts predefined API IDs:
    • server-guides
    • server-consents
    • server-intro-video
    • server-quick-start
    • server-guide-config
  • Save endpoint expects entries as a JSON string and writes transformed data directly into cache documents.
  • Clear endpoint can remove all cache entries or only entries for an ID prefix (_id).

Last Updated

2026-02-17