adds some documentation of API endpoints