Edit region API problem

I had a problem with the Edit region API because I just couldn’t get it to work, but after investigating the CMS source code, I finally got it to work, so I’ll share that information with you.
According to the API specification, id and loop are required parameters, but width and height are also required.
Furthermore,
top,left must also be specified or it will be 0. zIndex is also required.
Although not mentioned in the API documentation, the region type must also be specified.
This should be one of ‘zone’, ‘frame’, ‘playlist’, ‘canvas’ or ‘drawer’.

We hope this will be helpful for those developing with the API.

1 Like

Hi, Thank you for sharing this! Your investigation will definitely help improve the documentation and make things easier for other developers using the API. Thanks again!