Page Update - widget update corrupts Banner Content


#1

Hi,

I’m using the API /v2/pages I’m able to update the content of a specific widget on a page using the following json:
{
“widgets”:
{
“module_14315189967551####”:
{
“body”:{
“html”:"{NEW CONTENT PLACED HERE"}
,
“child_css”:
{
}
,
“css”:
{
}
,
“id”:“module_14315189967551####”,
“label”:“Testimonial Content”,
“name”:“module_14315189967551####”,
“smart_type”:null,
“type”:“rich_text”
}
}
}

The update of the content works BUT I noticed that the Banner on my page changed.
When I edit the page and review the widget “Banner Content”, I see the original content is still there.
If I hit “Save and go to module list” the banner is restored and I must update/publish the page to correct the problem.

Based on the documentation:
“PUT /content/api/v2/pages/:page_id - Updates the Page in the database. If not all the fields are included in the body, we will only update the included fields.”

It seems there is a bug.

Can you advise what I need to do to correct this?
Hopefully I won’t have to jump through hoops to dynamically obtain the banner information and use it in the page update process.

Ed