add get rest calls to views