Url经理如何在Yii框架中为Api工作?

Hi I have the following api url

http://localhost/apiworks/index.php/api/posts 

how this url is managed(which controller, action) in the following code?

actually how this is working?

'urlManager'=>array(
    'urlFormat'=>'path',
    'rules'=>array(                 
           // REST patterns
              array('api/list', 'pattern'=>'api/<model:\w+>', 'verb'=>'GET'),
              array('api/view', 'pattern'=>'api/<model:\w+>/<id:\d+>', 'verb'=>'GET'),                       
              '<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
        ),
array('api/list', 'pattern'=>'api/<model:\w+>', 'verb'=>'GET'),

It looks for actionList() function in ApiController for the case 'posts'