Maps

Create a new map

post/v1/maps

Request

  • Base URL: https://api.sprixen.com
  • URL: https://api.sprixen.com/v1/maps
  • Auth: bearer (a scheme the document does not define)

Request body

namestring required
descriptionstring
gridWidthnumber required
gridHeightnumber required
layersobject

Initial layer data

tilePackSlugsstring[]

Tile pack slugs used in this map

projectionType'isometric' | 'top_down' | 'side_view' | 'world'

Map projection type (locked after creation)

Example request

{
  "name": "My Fantasy Map"
}

Response

Map created

Changes

No recorded changes to this operation across all 1 revision of this API.