0
![Stack Overflow](http://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png)
I'd go with dedicated method (assuming Api.php is controller file).
Make list() method and put meant code in there
public function list($arg)
{
// code for this one
}
Then in APPPATH.'config/routes.php' resolve requests:
$route['campaign/list/(:num)'] = 'api/list/$1';
$route['campaign/(:...