Skip to content

Commit 09ba5e4

Browse files
committed
Add link to BC entry for REST API (documentId vs. id)
1 parent 5f56dab commit 09ba5e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus/docs/cms/api/rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ The Upload package (which powers the [Media Library feature](/cms/features/media
134134
Strapi 5's Content API includes 2 major differences with Strapi v4:
135135

136136
- The response format has been flattened, which means attributes are no longer nested in a `data.attributes` object and are directly accessible at the first level of the `data` object (e.g., a content-type's "title" attribute is accessed with `data.title`).
137-
- Strapi 5 now uses **documents** <DocumentDefinition/> and documents are accessed by their `documentId`.
137+
- Strapi 5 now uses **documents** <DocumentDefinition/> and documents are accessed by their `documentId` (see [breaking change entry](/cms/migration/v4-to-v5/breaking-changes/use-document-id) for details)
138138
:::
139139

140140
Requests return a response as an object which usually includes the following keys:

0 commit comments

Comments
 (0)