Server side REST API implementation as per issue #80