we are currently experiencing a problem, in which the REST API does not retrieve the correct widget IDs.
This means that if I check the widget ID through the HTML Inspector in FireFox, I am able to get the correct ID. On the other hand if I perform the get call via the REST API I am getting a other ID for the exact same widget.
This only seems to occure when the layout is in draft mode, which means that if the layout is published
I am able to retrieve the correct widget ID via an API call.
Publish Mode: HTML Inspector Value (correct) - API Value (correct) (Both are equal)
Draft Mode: HTML Inspector Value (correct) - API Value (false) (not equal)
The ID retrieved in draft mode from the API is useless and will not work with any other call trying to edit the widget, while the one retrieved via HTML Inspector will work just fine.