Updated API routing with better example