Read/fetch data from Pure CMS. Use when integrating CMS content, checking existing records, or working with CMS GET endpoints. Part of cms-manager.
Guide for reading data from the Pure CMS API. Use when integrating CMS content into pages, checking if records exist before update, or working with CMS GET endpoints. For create/update/delete, use cms-manager and cms/API.md.
cms-manager)pure-aws-devops)http://localhost:3003 (or CMS_HOST from env)GET /api/pages/content/:name or GET /api/pages/getPageContentByName?name=:name → { name, data, type, meta }GET /api/comp/public/:key → comp row (id, key, type, data)GET /api/sitemap/public → sitemap entriesGET /api/pages → pages array (admin: all; user: published)GET /api/pages/:idGET /api/comp → comps arrayGET /api/comp/:keyGET /api/auth/meUse credentials: 'include' for fetch so cookies are sent. Responses: { code, message, data }. Check existing before update (cms-manager workflow).
cms/API.md — full API; cms-manager — create/update/delete workflow.