EditMap

PUT /maps/{mapid}/

Edit map data

Path parameters

application/json

Body Required

  • mappass string Required

    Password to view the map without login

  • mapname string Required

    Map name

  • mapdate string

    Date of the day the map was burned. aaaa-mm-dd

  • Shows whether the map can be edited with the password or not

Responses

  • 202 application/json

    Default Response

    Hide response attribute Show response attribute object
  • 400 application/json

    Bad Request

    Bad Request

  • 401 application/json

    Unauthorized

    Unauthorized

  • 503 application/json

    Service Unavailable

    Service Unavailable

PUT /maps/{mapid}/
curl \
 --request PUT 'http://api.example.com/maps/{mapid}/' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"mappass":"string","mapname":"string","mapdate":"string","allowediting":true}'
Request examples
{
  "mappass": "string",
  "mapname": "string",
  "mapdate": "string",
  "allowediting": true
}
Response examples (202)
{
  "message": "string"
}
Response examples (400)
string
Response examples (401)
string
Response examples (503)
string