Skip to main content

32 docs tagged with "Content API"

View all tags

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

Filters

Use Strapi's REST API to filter the results of your requests.

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.

Locale

Browse the REST API reference for the locale parameter to take advantage of the Internationalization feature through REST.

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.

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.

Status

Use Strapi's REST API to work with draft or published versions of your documents.

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.

Upload files

Learn how to use the /api/upload endpoints to upload files to Strapi with the REST API.