What is the problem or goal the end user is trying to solve or accomplish?
To get a screenshot through the API, users can send a GET
request to /api/v1/chart/{{chart-id}}/cache_screenshot/
API endpoint, and then access the image_url
field.
However, it takes a few minutes to reflect changes to the screenshot, so currently there's no way to validate if the retrieve image already includes updated data or not.
How are they solving it currently?
Users wait a few minutes after refreshing a chart before retrieving the screenshot through the API.
What is the recommended solution by the Customer?
Add a new field to this API response to indicate the status
, so that users can validate if the screenshot was already updated or not.