added many more api endpoints