public ActionResult <IEnumerable <string> > Get(string relativeUrl) { var hs = new HostServices(_settings.Tenant, _settings.Tenant, _serviceUrl, _settings.ApiKey); var filePath = _settings.Url + relativeUrl; try { var content = hs.GetContent(filePath); //TODO: consider caching content locally for speed return(File(content.Blob, GetContentType(content.Filename))); } catch (System.Exception ex) { if (ex.Message.Contains("authenticated")) { return(Unauthorized()); } return(NotFound()); } }