Maps

Get Map Icon Asset Endpoint

Changed on

Serve an uploaded or bundled icon asset by stable icon ID.

SVG responses carry Content-Security-Policy default-src 'none'; sandbox so an uploaded SVG cannot fetch other origins, run scripts, or read auth cookies even if validation is bypassed in the future. Browsers (Chromium, Firefox) honor the sandbox directive on image/svg+xml responses. PNG responses use the global SecurityHeadersMiddleware default frame-ancestors 'self'.

get/maps/icons/{icon_id}/asset

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

icon_idstring required

Response

The icon image

Changes

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the media type image/png for the response with the status

    • info

      added the media type image/svg+xml for the response with the status