json roc api in place decorate function with @api.expose from the xdm module
TODO: generate unique api key
TODO: fix schedulers