Chapter 6: Dealing with Content

In this chapter, we will see how we can interact with API content. Strapi provides a handy set of API parameters that can be used to perform common tasks such as filtering, sorting, and paginating content. We will see how can we use those API parameters to manipulate API results. Finally, we will explain how we can use the Strapi Query Engine API to write and execute complex query operations.

The topics we will cover in this chapter are as follows:

  • Creating sample data
  • Sorting and pagination with API operators
  • Filtering content with Strapi API filter operators
  • Paginating API content
  • Understanding how Strapi works under the hood

Creating sample data

Before we get core of this chapter, we will need sample data ...

Get Designing Web APIs with Strapi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.