add end point and hook up api
2 files changed