Search code examples
restapache-superset

Apache Superset Rest API: How do I get chart screenshot


I want to call following api to get screenshot of chart from superset.

/api/v1/chart/{pk}/screenshot/{digest}

But I don't know what should I input to {digest}.

Can someone please tell me what it is?


Solution

  • Use method /api/v1/chart/{pk}/cache_screenshot/ to get the key. cache_key from response this method and there is digest