refactor api to use ApiDispatcherView to lookup for named api views