adding API endpoints to README