API ReferenceHealth and contract
← MapScale APIPOST
/v1/datasetsUpload a GeoJSON dataset
Public operational checks and the OpenAPI document.
Request body
Required · application/json
Responses
201Datasetapplication/json
400Invalid query or malformed JSON body.application/json
401mapscale/effect-api/UnauthorizedFailureapplication/json
403Publishable keys cannot manage datasets. | mapscale/effect-api/ForbiddenFailureapplication/json
409The requested slug is already used by this account.application/json
413The upload exceeds the per-upload byte limit.application/json
422Invalid GeoJSON, too many features, or the account's dataset limit is reached.application/json
429mapscale/effect-api/RateLimitedFailureapplication/json
500The dataset could not be stored. | mapscale/effect-api/MiddlewareInternalFailureapplication/json
503mapscale/effect-api/UpstreamUnavailableFailureapplication/json