Game

PATCH /games/{id}/{element}

Changed on

Increment a game item by a certain amount

Request

Request body

idstring required
elementstring required
valueinteger required

Example request

{
  "id": "sample-game",
  "element": "score",
  "value": 3
}

Response

The increment has been accepted

idstring required
elementstring required
valueinteger required

Example response

{
  "id": "sample-game",
  "element": "score",
  "value": 3
}

Changes

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status