Converted the page command api routes to attribute routing