Back-end customization
All elements of Strapi's back end, like routes, policies, middlewares, controllers, services, models, requests, responses, and webhooks, can be customized.
All elements of Strapi's back end, like routes, policies, middlewares, controllers, services, models, requests, responses, and webhooks, can be customized.
Once you've created and configured a Strapi project, created a data structure with the Content-Type Builder and started adding data through the Content Manager, you likely would like to access your content.
In Strapi 5, core service methods use the Document Service API instead of the Entity Service API.
Learn which lifecycle hooks are triggered when using Document Service API methods.
The Document Service API is the recommended way to interact with your content from the back-end server or from plugins.
Learn what a Document is in Strapi v5
In Strapi 5, the Entity Service API is deprecated in favor of the new Document Service API.
Learn how to transition from the Entity Service API of Strapi v4 to the Document Service API in Strapi 5
In Strapi 5, database lifecycle hooks are triggered differently with the various Document Service API methods, mainly due to the new way the Draft & Publish feature works.
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.
In Strapi 5, 'publicationState' can no longer be used in Content API calls. The new status parameter can be used and accepts 2 different values, draft and published.
Use Strapi's Document Service API to return either the draft or the published version of a document
This document provides information about the filters available in the Document Service API.
Use Strapi's Document Service API to populate or select some fields.
Use Strapi's Document Service API to select the fields to return with your queries.
Use Strapi's Document Service API to sort and paginate query results
Use Strapi's Document Service API to work with locale versions with your queries.
Strapi 5 beta brings many new features and improvements, and this page quickly highlights the most important documentation changes.