Add the routes for the basic API.