实体服务 API
¥Entity Service API
Strapi v5 中的实体服务 API 已弃用。请考虑改用 文档服务 API。
¥The Entity Service API is deprecated in Strapi v5. Please consider using the Document Service API instead.
在深入了解实体服务 API 文档之前,建议你阅读以下介绍:
¥Before diving deeper into the Entity Service API documentation, it is recommended that you read the following introductions:
-
和 内容 API 介绍。
¥and the Content APIs introduction.
Strapi 后端提供了一个构建在 查询引擎 API 之上的实体服务 API。实体服务是处理 Strapi 复杂内容结构(如 components 和 动态区域)的层,并使用底层的查询引擎 API 执行数据库查询。
¥The Strapi backend provides an Entity Service API, built on top of the Query Engine API. The Entity Service is the layer that handles Strapi's complex content structures like components and dynamic zones, and uses the Query Engine API under the hood to execute database queries.