Xibo 2.0 Assign a Dataset to DatasetView

Greetings,
i have been looking at the new swagger, and when i try to associate a dataset through the dataSetId in the widget DatasetView, it make the association.
Could you provide an exemple of a modification of a DatasetView through the api, since the information in swagger is not working for me.