new rest api functions
Merge branch 'master' of github:Selfnet/self-control-server