Version v0.46 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
GeoJSON
API endpoints for GeoJSON.
GET /api/geojson/
Load a custom GeoJSON file based on a URL or file path provided as a query parameter. This behaves similarly to /api/geojson/:key but doesn’t require the custom map to be saved to the DB first.
PARAMS:
-
urlvalue must be a non-blank string. -
respond -
raise
GET /api/geojson/:key
Fetch a custom GeoJSON file as defined in the custom-geojson setting. (This just acts as a simple proxy for the
file specified for key).
PARAMS:
-
keyvalue must be a non-blank string. -
respond -
raise
Read docs for other versions of Metabase.