Draft spec of the upcoming RESTful API