added more api endpoints, updated spec