updating API Routing.

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>