rules=>[
array('mobile/api/list', 'pattern' => 'mobile/api/<model:\w+>', 'verb' => 'GET', 'parsingOnly' => true),
array('mobile/api/view', 'pattern' => 'mobile/api/<model:\w+>/id/<id:\d+>', 'verb' => 'GET', 'parsingOnly' => true),
]
$this->createUrl('api/games/id/',array('id'=>$ID))
/mobile/api/games/id?id=20
/mobile/api/games/id/20