I would like to know how to use REST API to access (get,set,update) widget properties.
Since Widgets are pieces that run client side, I don't think it will support REST API calls.
Is there a reason for you to need to control this externally vs. from within the Mashup itself? Since Visibility is a bindable property it is easy to control that within the mashup.
Retrieving data ...