Example of a RESTful API in Pyramid framwork