I have problem with routing. My route looks like this:
Route::set('restapi', 'restapi/<version>(/<directory>)/<controller>(.<format>)',
array(
'version' => 'v1',
'format' => '(json|xml|csv|html)',
))
->defaults(array(
'format' => 'json',
));
And my question is: how my url should looks like?
Path for Api: Controller/restapi/api.php
Thanks for help.