Example of a RESTful API written using the Yii Framework