API: Update A Map Info

PUT /map/{mapId}

Update a map by MapId. Query parameters are optional.

Parameters:
  • mapId (string) -- MapId

Query Parameters:
  • gps (string) -- gps, with json array format. e.g. [108.231, 23.865]

  • meta (string) -- Custom meta

  • name (string) -- Map name

  • previewImage (file) -- previewImage

  • status (string) -- Map status

  • tag (string) -- Tag for map, with json array format ["central square"]

Status Codes:
Response JSON Object:
  • msg (string) --

  • result.created (string) --

  • result.gps (string) --

  • result.mapId (string) --

  • result.mapVersion (string) --

  • result.md5 (string) --

  • result.meta (string) --

  • result.modified (string) --

  • result.name (string) --

  • result.previewUrl (string) --

  • result.size (integer) --

  • result.status (string) --

  • result.tag (string) --

  • statusCode (integer) --

  • timestamp (string) --