在 Content API 调用中应使用 documentId
代替 id
¥documentId
should be used instead of id
in Content API calls
在 Strapi 5 中,处理内容的底层 API 是 文档服务 API,文档应在内容 API 调用(REST API 和 GraphQL)中由其 documentId
调用。
¥In Strapi 5, the underlying API handling content is the Document Service API and documents should be called by their documentId
in Content API calls (REST API & GraphQL).
此页面是 重大变更数据库 的一部分,提供有关重大更改的信息以及从 Strapi v4 迁移到 Strapi 5 的其他说明。
¥This page is part of the breaking changes database and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.
Is this breaking change affecting plugins?Yes
Is this breaking change automatically handled by a codemod?Partly
(see entity-service-document-service)