sphinx docs for API endpoints