styles

`GET /styles`: the CALLER'S hosted styles with their latest versions.

Authenticated and scoped: a key sees the styles it (or a sibling key of the same identity) created, and nothing else. It was previously public and unscoped, which published every style id and name on the deployment to anyone who asked: see the module docs.

get/styles

Request

  • Base URL: https://api.mapmap.ai
  • URL: https://api.mapmap.ai/styles
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter api_key

Response

The calling key's hosted styles

idstring required

Style id.

latest_versioninteger required

Highest published version.

namestring required

Human-readable style name.

style_urlstring required

Immutable URL of the latest compiled style.

Changes

No recorded changes to this operation across all 1 revision of this API.