So, for my custom route:-
$route[\'api/v1/user/(:num)/compliance?facility_id=(:num)\'] = function ($user_id, $facility_id) { return \'api_v1/api_users/compli