add get by id api request

also change uri’s to include api/ at the front