diff options
Diffstat (limited to 'module/web/api_app.py')
-rw-r--r-- | module/web/api_app.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/web/api_app.py b/module/web/api_app.py index 75a817c46..52903e92b 100644 --- a/module/web/api_app.py +++ b/module/web/api_app.py @@ -65,6 +65,8 @@ def callApi(api, func, *args, **kwargs): print "Invalid API call", func return HTTPError(404, dumps("Not Found")) + # TODO: accept same payload as WS backends, combine into json_converter + # TODO: arguments as json dictionaries # TODO: encoding result = getattr(api, func)(*[loads(x) for x in args], **dict([(x, loads(y)) for x, y in kwargs.iteritems()])) |