อ้างอิง APIHealth และ contract
← MapScale APIPOST
/v1/stylesSave a map style
endpoint ตรวจสถานะและ OpenAPI document แบบ public
Request body
จำเป็น · application/json
Responses
201SavedStyleapplication/json
400Malformed JSON body.application/json
401mapscale/effect-api/UnauthorizedFailureapplication/json
403Publishable keys cannot manage styles. | mapscale/effect-api/ForbiddenFailureapplication/json
409The requested slug is already used by this account.application/json
422Invalid overlay, unknown dataset, overlay too large, or the account's style limit is reached.application/json
429mapscale/effect-api/RateLimitedFailureapplication/json
500The style could not be stored. | mapscale/effect-api/MiddlewareInternalFailureapplication/json
503mapscale/effect-api/UpstreamUnavailableFailureapplication/json