Version v0.43 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
Endpoints for previewing how Cards and Dashboards will look when embedding them.
These endpoints are basically identical in functionality to the ones in /api/embed, but:
:enabled_embedding for Cards/Dashboards:embed_params whitelist for Card/Dashboards, instead using a field called :_embedding_params in
the JWT token itself.Refer to the documentation for those endpoints for further details.
GET /api/preview-embed/card/:tokenFetch a Card you’re considering embedding by passing a JWT token.
tokenGET /api/preview-embed/card/:token/queryFetch the query results for a Card you’re considering embedding by passing a JWT token.
token
&
query-params
GET /api/preview-embed/dashboard/:tokenFetch a Dashboard you’re considering embedding by passing a JWT token. .
tokenGET /api/preview-embed/dashboard/:token/dashcard/:dashcard-id/card/:card-idFetch the results of running a Card belonging to a Dashboard you’re considering embedding with JWT token.
token
dashcard-id
card-id
&
query-params
GET /api/preview-embed/pivot/card/:token/queryFetch the query results for a Card you’re considering embedding by passing a JWT token.
token
&
query-params
GET /api/preview-embed/pivot/dashboard/:token/dashcard/:dashcard-id/card/:card-idFetch the results of running a Card belonging to a Dashboard you’re considering embedding with JWT token.
token
dashcard-id
card-id
&
query-params