Feature Settings REST API 

Implements a REST API for saving and getting widget's settings.