Api
Sprites
Published style sprite routes.
Sprites API
Published style sprite paths live under the style URL namespace:
GET /styles/v1/{owner}/{style}/sprite.json
GET /styles/v1/{owner}/{style}/sprite.png
GET /styles/v1/{owner}/{style}/[email protected]
GET /styles/v1/{owner}/{style}/[email protected]Published style JSON includes:
{ "sprite": "/styles/v1/{owner}/{style}/sprite" }The sprite URL is emitted only when the published style references sprite assets. Styles without sprite assets return 404 Sprite not configured for sprite routes.