Maps
Get Map Icon Asset Endpoint
Changed onServe 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/jsonfor the response with the status - info
added the media type
image/pngfor the response with the status - info
added the media type
image/svg+xmlfor the response with the status
- breaking