moved getEndpoint to Web.HackerNews.Endpoint