Update api-endpoints.md