Maps

Updates a map in-place.

This endpoint is used for simple metadata changes. Gameplay changes should be communicated through a separate version, i.e. PUT /maps.

patch/maps/{map_id}

Path parameters

map_idinteger required

the map's ID

Request body

workshop_idinteger nullable

A new workshop ID.

This field is used for updating 3 things:

  • the map's workshop ID
  • the map's name
  • the map's vpk checksum
descriptionstring nullable

A new description.

state'invalid' | 'in-testing' | 'approved'
added_mappersSteamId[]

SteamIDs to add to the map's mapper list.

deleted_mappersSteamId[]

SteamIDs to remove from the map's mapper list.

Example request

{
  "added_mappers": [
    "STEAM_1:1:161178172"
  ],
  "deleted_mappers": [
    "STEAM_1:1:161178172"
  ],
  "course_updates": [
    {
      "added_mappers": [
        "STEAM_1:1:161178172"
      ],
      "deleted_mappers": [
        "STEAM_1:1:161178172"
      ]
    }
  ]
}

Changes