/api/geojson

GET /api/geojson

Changed on

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.

get/api/geojson

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Query parameters

urlstring required

value must be a non-blank string.

Request body

object required

Response

Successful response

Changes