Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 61792

Last Refresh time via REST API

$
0
0

 

I would like to find out the last refresh time for a tile. I'm using the Get Tiles REST API but it only gives me the tile id, title and embedUrl.

 

Does anyone know how I can get the refresh time from an API call?  Or even for underlying dashboard or dataset?

 

My application renders tiles to SVG which then get embedded in some PDF's via a custom CMS.  I have to render the tile in a headless brower (using the power bi javascript SDK) and and then render the HTML result as SVG.  That's an an expensive operation, so I want to cache the SVG's until the next data refresh. 

 

I've read how to include the last refresh time in my data tables.  But I don't think there's any API to get the raw data from a table (please correct me if I'm wrong!) And so, I guess I could render a dummy table visualisation with the last refresh time as HTML, then scrape the value from the HTML to decide whether to hang on my cache or re-render the SVG's.  It's do-able but not very elegant.  

 

Has anyone got any ideas?  


Viewing all articles
Browse latest Browse all 61792

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>