Maps

Update map (layers, name, metadata, tile packs)

patch/v1/maps/{id}

Request

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

Path parameters

idstring required

Map ID

Request body

namestring
descriptionstring
gridWidthnumber
gridHeightnumber
layersobject
terrainWeightsobject

Terrain weight map. Structure: { cells: [[{grass:1.0, dirt:0.0, ...}, ...], ...], materials: ["grass","dirt","sand","water","stone"] }

metadataobject
thumbnailUrlstring
tilePackSlugsstring[]

Response

Map updated

Changes

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