Fix spelling in doc/endpoints.md