Skip to main content

38 docs tagged with "Content API"

View All Tags

Bulk Operations

Use Strapi's Query Engine API to perform operations on multiple entries.

Document Service API

The Document Service API is the recommended way to interact with your content from the back-end server or from plugins.

Documents

Learn what a Document is in Strapi v5

Filtering

Use Strapi's Query Engine API to filter the results of your queries.

GraphQL API

The GraphQL API allows performing queries and mutations to interact with the content-types through Strapi's GraphQL plugin. Results can be filtered, sorted and paginated.

How to populate creator fields

Learn how to populate creator fields such as createdBy and updatedBy by creating a custom controller that leverages the populate parameter.

No findPage() in Document Service API

In Strapi 5, the Entity Service API is deprecated, and for the findPage() method you should use the Document Service API's findMany() method instead.

Parameters

Use API parameters to refine your Strapi REST API queries.

Populating

Use Strapi's Query Engine API to populate relations when querying your content.

Query Engine API

Strapi provides a Query Engine API to give unrestricted internal access to the database layer at a lower level.

Relations

Use the REST API to manage the order of relations

Reserved attributes and content-types names

In Strapi 5, some attributes and content types names are reserved, and all fields or content types using the reserved names should be renamed before migrating to prevent data loss.

REST API Guides

Deep dive into some specific REST API topics using guides that extensively explain some use cases or give step-by-step instructions.

REST API reference

Interact with your Content-Types using the REST API endpoints Strapi generates for you.

Single Operations

Use Strapi's Query Engine API to perform operations on single entries.

The GraphQL API has been updated

In Strapi 5, the GraphQL API has been updated. It handles the new, flattened response format, and can also now accept Relay-style queries.

Understanding populate

Learn what populating means and how you can use the populate parameter in your REST API queries to add additional fields to your responses.