LearnWagtail.com has a new look! A new course is coming, too! 🥳

Tutorial Wagtail Version: 2.x

Headless CMS: Fetching Data From the v2 API

The Wagtail v2 API is how we can turn our website into a Headless CMS. By default Wagtail will give you specific fields in the form a JSON object. But there are times when you only want certain fields; you might want to exclude or include specific fields in the JSON response. In this tutorial, we'll explore exactly how to do that.

This video is a how-to video, there is no code associated with it. However, if you're interested in reading through the solid Wagtail Documentation on Fetching API Data, it will give you all the code and example you need.

Related tutorials

Get notified about new Wagtail content.