Game

Increment a game item by a certain amount

patch/games/{id}/{element}

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

Changed in 2 of the 2 revisions of this API.33

    • the response property element became required for the status 200

      response-property-became-required

    • the response property id became required for the status 200

      response-property-became-required

    • the response property value became required for the status 200

      response-property-became-required

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response property element became optional for the status 200

      response-property-became-optional

    • the response property id became optional for the status 200

      response-property-became-optional

    • the response property value became optional for the status 200

      response-property-became-optional

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog