Extensions to create a RESTful API