Yii REST API application