I've extracted ordered cards from a Metabase dashboard and would like to copy them into a new empty dashboard through Python.
I don't find the Metabase API documentation: Add Card to Dashboard particularly clear:
POST
/api/dashboard/:id/cards
with the following parameters:
- id,
- cardId value may be nil, or if non-nil, value must be an integer greater than zero
- parameter_mappings value must be an array. Each value must be a map.
- series
- dashboard-card
I have no idea what goes in each of these parameters and the documentation doesn't seem to explain it.
Any ideas?