api info route
api route handler.