-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating Dynamic Zones via REST API no longer works #2327
Comments
@spyderdsn You have to add |
{
"data": {
"id": 5,
"documentId": "bui11070zyexg20k1xg9fdxx",
"name": "Test Document",
"createdAt": "2024-12-13T05:52:18.359Z",
"updatedAt": "2024-12-13T21:15:20.414Z",
"publishedAt": "2024-12-13T21:15:20.966Z",
"locale": "en",
"assets": [
{
"__component": "media",
"id": 8,
"name": "142bdf157191583.63749e49bcb3a.jpg",
"alternativeText": null,
"caption": "Test 1",
"width": 2048,
"height": 2048,
... rest of object here ...
},
{
"__component": "media",
"id": 7,
"name": "27a5197bdaf301a49d1fa23eb2391256.png",
"alternativeText": null,
"caption": "Test 2",
"width": 900,
"height": 900,
... rest of object here ...
}
]
},
"meta": {}
} Thanks @Boegie19 I tried this, got |
Please provide a better example here for the time being. Thanks |
Describe the bug
Updating dynamic zones via REST API does not work. Tried multiple approaches:
more examples here: https://forum.strapi.io/t/put-for-repeatable-items-or-media-via-rest-api/49520/2
Steps to reproduce the behavior
use Postman or Insomnia to send the payload.
The text was updated successfully, but these errors were encountered: