More RESTAPI. Almost ready for some load and resilience tests!