Update API endpoints in the docs