Provides a rest-api for the webinterface.