Structured Content
Drafts, preview & webhooks
Lesson 5 of 5
Draft/published document pairs, the perspective switch that powers preview, and GROQ-powered webhooks that keep deploys in sync.
What you'll learn
- Understand draft/published document pairs and the drafts. id prefix
- Use the perspective option to query published content or a drafts overlay
- Wire a GROQ-powered webhook to tag-based revalidation
Members only
A free account unlocks this lesson and every other one.
Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.
Not sure yet? Try the free lesson first: Content modeling