Skip to content

Document dynamic zone __component in REST update section#3150

Merged
pwizla merged 2 commits into
strapi:mainfrom
singhvishalkr:docs-2327-dynamic-zone-rest-component
May 11, 2026
Merged

Document dynamic zone __component in REST update section#3150
pwizla merged 2 commits into
strapi:mainfrom
singhvishalkr:docs-2327-dynamic-zone-rest-component

Conversation

@singhvishalkr
Copy link
Copy Markdown
Contributor

Issue #2327 and the thread from Boegie19 spell out that dynamic zone payloads need a __component key on each entry so Strapi can pick the component schema. That was missing from the REST reference, so people were sending full arrays copied from GET responses and getting confusing results.

I added a short note under the update section of the REST API reference that calls this out and points readers at the Content-Type Builder UID (with shared.media as an example shape only).

Closes #2327.

Made with Cursor

@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment May 11, 2026 1:51pm

Request Review

Comment thread docusaurus/docs/cms/api/rest.md Outdated
Copy link
Copy Markdown
Collaborator

@pwizla pwizla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @singhvishalkr.
I also downgraded the admonition from note to info here.

@pwizla pwizla self-assigned this May 11, 2026
@pwizla pwizla added pr: chore source: CMS contribution PRs that are part of the Documentation Contribution Program labels May 11, 2026
@pwizla pwizla added this to the 6.25.0 milestone May 11, 2026
@pwizla pwizla merged commit 8cd172d into strapi:main May 11, 2026
9 of 10 checks passed
pwizla added a commit that referenced this pull request May 13, 2026
Manual cherry-pick of 8cd172d to next branch (auto cherry-pick failed
due to structural differences between main and next in rest.md).

Co-authored-by: Vishal Kumar Singh <vishal.kr.singh2021@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution PRs that are part of the Documentation Contribution Program pr: chore source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Updating Dynamic Zones via REST API no longer works

2 participants